@itcase/forms 1.0.28 → 1.0.29
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/dist/itcase-forms.cjs.js
CHANGED
|
@@ -812,6 +812,7 @@ var ChoiceField = /*#__PURE__*/React__default.default.memo(function ChoiceField(
|
|
|
812
812
|
inputProps = props.inputProps,
|
|
813
813
|
isMultiple = props.isMultiple,
|
|
814
814
|
isRequired = props.isRequired,
|
|
815
|
+
initialValue = props.initialValue,
|
|
815
816
|
label = props.label,
|
|
816
817
|
name = props.name,
|
|
817
818
|
messageType = props.messageType,
|
|
@@ -820,7 +821,8 @@ var ChoiceField = /*#__PURE__*/React__default.default.memo(function ChoiceField(
|
|
|
820
821
|
var _useForm = reactFinalForm.useForm(),
|
|
821
822
|
change = _useForm.change;
|
|
822
823
|
return /*#__PURE__*/React__default.default.createElement(reactFinalForm.Field, {
|
|
823
|
-
name: name
|
|
824
|
+
name: name,
|
|
825
|
+
initialValue: initialValue
|
|
824
826
|
}, function (_ref) {
|
|
825
827
|
var input = _ref.input,
|
|
826
828
|
meta = _ref.meta;
|
package/dist/itcase-forms.esm.js
CHANGED
|
@@ -802,6 +802,7 @@ var ChoiceField = /*#__PURE__*/React.memo(function ChoiceField(props) {
|
|
|
802
802
|
inputProps = props.inputProps,
|
|
803
803
|
isMultiple = props.isMultiple,
|
|
804
804
|
isRequired = props.isRequired,
|
|
805
|
+
initialValue = props.initialValue,
|
|
805
806
|
label = props.label,
|
|
806
807
|
name = props.name,
|
|
807
808
|
messageType = props.messageType,
|
|
@@ -810,7 +811,8 @@ var ChoiceField = /*#__PURE__*/React.memo(function ChoiceField(props) {
|
|
|
810
811
|
var _useForm = useForm(),
|
|
811
812
|
change = _useForm.change;
|
|
812
813
|
return /*#__PURE__*/React.createElement(Field, {
|
|
813
|
-
name: name
|
|
814
|
+
name: name,
|
|
815
|
+
initialValue: initialValue
|
|
814
816
|
}, function (_ref) {
|
|
815
817
|
var input = _ref.input,
|
|
816
818
|
meta = _ref.meta;
|