@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.cjs
CHANGED
|
@@ -25986,7 +25986,7 @@ function useFieldAttributes2() {
|
|
|
25986
25986
|
|
|
25987
25987
|
// ../form-fields/dist/esm/ui/form/components/form/input-field.js
|
|
25988
25988
|
var InputField = (_ref) => {
|
|
25989
|
-
var _field$properties;
|
|
25989
|
+
var _field$properties, _field$properties2;
|
|
25990
25990
|
let {
|
|
25991
25991
|
field,
|
|
25992
25992
|
errors,
|
|
@@ -26058,6 +26058,7 @@ var InputField = (_ref) => {
|
|
|
26058
26058
|
const FieldComponent = componentsById[field.fieldType];
|
|
26059
26059
|
const fieldProps = {
|
|
26060
26060
|
...field.properties,
|
|
26061
|
+
readOnly: Boolean((_field$properties2 = field.properties) == null ? void 0 : _field$properties2.readOnly),
|
|
26061
26062
|
onChange: handleChange,
|
|
26062
26063
|
onBlur: _onBlur,
|
|
26063
26064
|
onFocus: _onFocus,
|