@wix/form-public 0.95.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.js CHANGED
@@ -21349,7 +21349,6 @@ var require_messages_en = __commonJS({
21349
21349
  "search.keyword.contacts.subscribe": "subscribe, subscription, opt in, newsletter, marketing, subscriber",
21350
21350
  "date-input.input.error.message.format-error": "Enter a month, day and year.",
21351
21351
  "contacts-first-name.input.error.message.required-error": "Enter a first name.",
21352
- "add.scheduling-fields.scheduling": "Scheduling",
21353
21352
  "file-upload.dropzone.title": "Upload your file",
21354
21353
  "search.keyword.scheduling.appointment": "appointment, booking, schedule",
21355
21354
  "form.a11y.step.index.title": "Step {index} out of {total}",
@@ -21539,7 +21538,6 @@ var require_messages_en = __commonJS({
21539
21538
  "form.appointment.meeting-format.in-person-location-method-os-location": "Business location",
21540
21539
  "form.file-upload.error.limit": "You've reached your upload limit of {limit, number} files.",
21541
21540
  "contacts-email.input.error.message.required-error": "Enter an email address like example@mysite.com.",
21542
- "file-upload.delete-file.aria.label": "Delete file",
21543
21541
  "field-context-menu.duplicate": "Duplicate"
21544
21542
  };
21545
21543
  }
@@ -25962,7 +25960,7 @@ function useFieldAttributes2() {
25962
25960
 
25963
25961
  // ../form-fields/dist/esm/ui/form/components/form/input-field.js
25964
25962
  var InputField = (_ref) => {
25965
- var _field$properties;
25963
+ var _field$properties, _field$properties2;
25966
25964
  let {
25967
25965
  field,
25968
25966
  errors,
@@ -26034,6 +26032,7 @@ var InputField = (_ref) => {
26034
26032
  const FieldComponent = componentsById[field.fieldType];
26035
26033
  const fieldProps = {
26036
26034
  ...field.properties,
26035
+ readOnly: Boolean((_field$properties2 = field.properties) == null ? void 0 : _field$properties2.readOnly),
26037
26036
  onChange: handleChange,
26038
26037
  onBlur: _onBlur,
26039
26038
  onFocus: _onFocus,