@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.cjs CHANGED
@@ -21375,7 +21375,6 @@ var require_messages_en = __commonJS({
21375
21375
  "search.keyword.contacts.subscribe": "subscribe, subscription, opt in, newsletter, marketing, subscriber",
21376
21376
  "date-input.input.error.message.format-error": "Enter a month, day and year.",
21377
21377
  "contacts-first-name.input.error.message.required-error": "Enter a first name.",
21378
- "add.scheduling-fields.scheduling": "Scheduling",
21379
21378
  "file-upload.dropzone.title": "Upload your file",
21380
21379
  "search.keyword.scheduling.appointment": "appointment, booking, schedule",
21381
21380
  "form.a11y.step.index.title": "Step {index} out of {total}",
@@ -21565,7 +21564,6 @@ var require_messages_en = __commonJS({
21565
21564
  "form.appointment.meeting-format.in-person-location-method-os-location": "Business location",
21566
21565
  "form.file-upload.error.limit": "You've reached your upload limit of {limit, number} files.",
21567
21566
  "contacts-email.input.error.message.required-error": "Enter an email address like example@mysite.com.",
21568
- "file-upload.delete-file.aria.label": "Delete file",
21569
21567
  "field-context-menu.duplicate": "Duplicate"
21570
21568
  };
21571
21569
  }
@@ -25988,7 +25986,7 @@ function useFieldAttributes2() {
25988
25986
 
25989
25987
  // ../form-fields/dist/esm/ui/form/components/form/input-field.js
25990
25988
  var InputField = (_ref) => {
25991
- var _field$properties;
25989
+ var _field$properties, _field$properties2;
25992
25990
  let {
25993
25991
  field,
25994
25992
  errors,
@@ -26060,6 +26058,7 @@ var InputField = (_ref) => {
26060
26058
  const FieldComponent = componentsById[field.fieldType];
26061
26059
  const fieldProps = {
26062
26060
  ...field.properties,
26061
+ readOnly: Boolean((_field$properties2 = field.properties) == null ? void 0 : _field$properties2.readOnly),
26063
26062
  onChange: handleChange,
26064
26063
  onBlur: _onBlur,
26065
26064
  onFocus: _onFocus,