mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 09:31:43 -05:00
Merge pull request #2243 from vale981/fix_select_label
Fix labeling in select component.
This commit is contained in:
commit
a3523e40e8
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ const SelectComponent = ({ refFunction, inputProperties, itemProperties, datatyp
|
||||||
<Components.FormItem path={inputProperties.path} label={inputProperties.label} {...itemProperties}>
|
<Components.FormItem path={inputProperties.path} label={inputProperties.label} {...itemProperties}>
|
||||||
<Form.Control as="select" {...inputProperties} ref={refFunction}>
|
<Form.Control as="select" {...inputProperties} ref={refFunction}>
|
||||||
{options.map((option, i) => (
|
{options.map((option, i) => (
|
||||||
<option key={i} {...option}>{option.value}</option>
|
<option key={i} {...option}>{option.label}</option>
|
||||||
))}
|
))}
|
||||||
</Form.Control>
|
</Form.Control>
|
||||||
</Components.FormItem>
|
</Components.FormItem>
|
||||||
|
|
Loading…
Add table
Reference in a new issue