@react-typed-forms/schemas 11.10.0 → 11.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1591,7 +1591,8 @@ function defaultDataProps(_ref4) {
|
|
|
1591
1591
|
var className = cc(definition.styleClass);
|
|
1592
1592
|
var required = !!definition.required;
|
|
1593
1593
|
var fieldOptions = schemaInterface.getOptions(field);
|
|
1594
|
-
var
|
|
1594
|
+
var _allowed = (_allowedOptions$value = allowedOptions == null ? void 0 : allowedOptions.value) != null ? _allowedOptions$value : [];
|
|
1595
|
+
var allowed = Array.isArray(_allowed) ? _allowed : [_allowed];
|
|
1595
1596
|
return _extends({
|
|
1596
1597
|
definition: definition,
|
|
1597
1598
|
childDefinitions: (_definition$children = definition.children) != null ? _definition$children : [],
|