@wix/form-public 0.96.0 → 0.97.0
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/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -25960,7 +25960,7 @@ function useFieldAttributes2() {
|
|
|
25960
25960
|
|
|
25961
25961
|
// ../form-fields/dist/esm/ui/form/components/form/input-field.js
|
|
25962
25962
|
var InputField = (_ref) => {
|
|
25963
|
-
var _field$properties;
|
|
25963
|
+
var _field$properties, _field$properties2;
|
|
25964
25964
|
let {
|
|
25965
25965
|
field,
|
|
25966
25966
|
errors,
|
|
@@ -26032,6 +26032,7 @@ var InputField = (_ref) => {
|
|
|
26032
26032
|
const FieldComponent = componentsById[field.fieldType];
|
|
26033
26033
|
const fieldProps = {
|
|
26034
26034
|
...field.properties,
|
|
26035
|
+
readOnly: Boolean((_field$properties2 = field.properties) == null ? void 0 : _field$properties2.readOnly),
|
|
26035
26036
|
onChange: handleChange,
|
|
26036
26037
|
onBlur: _onBlur,
|
|
26037
26038
|
onFocus: _onFocus,
|