mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 09:31:43 -05:00
optionsAsStrings was not defined
This commit is contained in:
parent
85e8614aa2
commit
d80f9b4a72
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class FormComponent extends PureComponent {
|
|||
if (!properties.multiple && Array.isArray(properties.value) && properties.value.length === 0) {
|
||||
properties.value = '';
|
||||
}
|
||||
properties.options = [{label: this.context.intl.formatMessage({id: 'forms.select_option'}), disabled: true}, ...optionsAsStrings];
|
||||
properties.options = [{label: this.context.intl.formatMessage({id: 'forms.select_option'}), disabled: true}, ...properties.options];
|
||||
return <Components.FormComponentSelect {...properties} />;
|
||||
|
||||
case 'datetime':
|
||||
|
|
Loading…
Add table
Reference in a new issue