File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 4444 export let empty_state_link: string | null = null
4545 export let inline_action: InlineAction | null = null
4646 export let aria_label: string | null = null
47+ export let hide_label: boolean = false
4748
4849 function is_empty(value : unknown ): boolean {
4950 if (value === null || value === undefined ) {
157158 {disabled }
158159 />
159160 {/if }
160- {#if label || inline_action || info_description || error_message || description }
161+ {#if ! hide_label && ( label || inline_action || info_description || error_message || description ) }
161162 <label
162163 for ={id }
163164 class =" text-sm font-medium text-left flex flex-col gap-1 w-full"
Original file line number Diff line number Diff line change 725725<Dialog
726726 bind:this ={add_feedback_dialog }
727727 title =" Add Feedback"
728+ sub _subtitle=" Comment on the model's output."
728729 on:close ={() => (add_feedback_open = false )}
729730>
730731 {#if add_feedback_open }
731732 <FormContainer
732- submit _label=" Add "
733+ submit _label=" Save Feedback "
733734 on:submit ={submit_feedback }
734735 bind:submitting ={add_feedback_submitting }
735736 bind:error ={add_feedback_error }
736737 >
737738 <FormElement
738739 id =" new_feedback_input"
740+ hide _label={true }
739741 label =" Feedback"
740- info _description=" Feedback you have on the output."
741742 inputType =" textarea"
742743 bind:value ={new_feedback_text }
743744 />
You can’t perform that action at this time.
0 commit comments