Skip to content

Commit

Permalink
react-base: Fix FieldChoiceString component should map the list type
Browse files Browse the repository at this point in the history
  • Loading branch information
tdesveaux committed May 5, 2024
1 parent dfbeb5b commit 5e4aff8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const FieldAny = observer(({field, fieldsState}: FieldAnyProps) => {
if (field.type === 'username') {
return <FieldUserName field={field as ForceSchedulerFieldUserName} fieldsState={fieldsState}/>
}
if (field.type === 'choices') {
if (field.type === 'list') {
return <FieldChoiceString field={field as ForceSchedulerFieldChoiceString}
fieldsState={fieldsState}/>
}
Expand Down

0 comments on commit 5e4aff8

Please sign in to comment.