Skip to content

Commit

Permalink
Add more option descriptions to sample
Browse files Browse the repository at this point in the history
Refs: #6455
  • Loading branch information
sdvg committed Aug 8, 2024
1 parent a7ea6a1 commit f37627a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ export const InputRadioCases = forwardRef<HTMLKolInputRadioElement, Components.K
_msg={{ _type: 'error', _description: ERROR_MSG }}
_touched
_value="Company"
_options="[{'label':'Mrs.','value':'Mrs.', 'description':'I am a description.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]"
_options={[
{ label: 'Mrs.', value: 'Mrs.', description: 'Description for option "Mrs."' },
{ label: 'Mr. (disabled)', value: 'Mr.', description: 'Description for option "Mr."', disabled: true },
{ label: 'Company', value: 'Company', description: 'Description for option "Company"' },
]}
_label="Salutation (horizontal with error hint and description)"
_hint={HINT_MSG}
/>
Expand Down

0 comments on commit f37627a

Please sign in to comment.