fix choice field to fit stricter validation
This commit is contained in:
parent
c5a27e63d2
commit
5e08d7f67d
|
|
@ -31,8 +31,8 @@ export function ChoiceField({
|
|||
|
||||
return choices.map((choice) => {
|
||||
return {
|
||||
value: choice.value,
|
||||
label: choice.display_name
|
||||
value: choice.value.toString(),
|
||||
label: choice.display_name.toString()
|
||||
};
|
||||
});
|
||||
}, [definition.choices]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue