fix choice field to fit stricter validation

This commit is contained in:
Matthias Mair 2024-05-01 17:38:59 +02:00
parent c5a27e63d2
commit 5e08d7f67d
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 2 additions and 2 deletions

View File

@ -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]);