Skip to content

Releases: neolution-ch/react-hook-form-components

Release 3.7.0

08 Jul 07:08
Compare
Choose a tag to compare

Added

  • property autoComplete to Form component

Release 3.6.1

25 Jun 10:16
Compare
Choose a tag to compare

Fixed

  • wrong spread provided by MUI on renderHighlightedOptionFunction

Release 3.6.0

24 Jun 08:50
Compare
Choose a tag to compare

Added

  • New typeahead helper function getAutosuggestHighlightParts.

Release 3.5.0

18 Jun 12:53
Compare
Choose a tag to compare

Changed

    • date-fns is now installed as dependency

Fixed

  • removed not needed dev dependencies

Release 3.4.0

11 Jun 08:26
Compare
Choose a tag to compare

Changed

  • migrated to eslint 9 flat config

Release 3.3.0

03 Jun 11:34
Compare
Choose a tag to compare

Added

  • property placeholder to FormattedInput component.

Release 3.2.0

30 Apr 13:25
Compare
Choose a tag to compare

Added

  • Export of typeahead helpers and useDebounceHook hook.

Fixed

  • Hide placeholder on multiple AsyncTypeAheadInput and StaticTypeAheadInput when at least one option is selected.
  • Typeahead helpers return type from TypeaheadOption[] to TypeaheadOptions, since typeaheads are not intended to be used with mixed string and LabelValueOption options.

Release 3.1.1

10 Apr 07:53
Compare
Choose a tag to compare

Fixed

  • Selected options were still visible and selectable using multiple AsyncTypeAheadInput. This is now fixed and active options are now filtered on searching once have been previously selected.

Release 3.1.0

17 Mar 07:16
Compare
Choose a tag to compare

Added

  • ColorPickerInput component which provide both text input and color picker in order to choose color.
    1. The inputs accepts color in any format, but the picker will set the color in the format you provided as props. By default, this behaviour is prevented and onBlur the provided color will be parsed to specified format. In case you want to disable this behaviour, you can provide the convertColorToFormatOrUndefinedOnBlur property as false.
    2. Color Picker is by default with MUI style, use useBootstrapStyle property for applying a "bootstrap-like" style.

Release 3.0.1

05 Mar 15:45
Compare
Choose a tag to compare

Fixed

  • Selected option was wrongly filtered when using single AsyncTypeAheadInput. This is now fixed and active option is visible on searching even if has been selected.
  • Both AsyncTypeAheadInput and StaticTypeAheadInput rendering options issue due to duplicated labels. By default, the new key is the concatenation of label and value in case of typeahead option type, and label in case of string option type. In case the issue persist with above change, you can use the getOptionKey property to override it with a unique key.
  • Query for AsyncTypeAheadInput, which was wrongly executed with empty search string once the input was manually cleaned-up.