@timum/booking 1.6.5 → 1.6.6

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/README.md CHANGED
@@ -750,6 +750,7 @@ Anatomy of a custom booking form field:
750
750
  title: string or JSXElement;
751
751
  validation: yup based validation. See https://github.com/jquense/yup. Re-exported and accessible via timum.yup
752
752
  type: string; either 'text' (default), 'phoneNumber', 'textarea', 'checkbox' or 'select',
753
+ onChange: function, allows to execute code whenever the user changes the fields value. Gets 'value' as function parameter.
753
754
  prefilled: string; value a field is initiated with.
754
755
  Note that for fields of type 'select' you must use the 'key' of one of it's options.
755
756
  preventRendering: boolean, default false;