Skip to main content
Version: 2.0

What's changed?

2.0.0

Released - 14 Dec, 2024

New Components 🔥

New Features 🎉

  • Add allLabelsAboveFields prop in ConfigProvider component to set showLabelAboveFormField to true for all components.
  • Added required prop for all components to indicate in the formLabel that the field needs to be filled with the relevant value before submission.
  • Add fontSize, fontFamily, fontColor, fontBackgroundColor options in the toolbar for RHFRichTextEditor.
  • Introduce form-helpers module which exposes internal utility functions to the developers.

Enhancements ✨

  • Added a new form example containing all components with validation handled through the registerOptions prop.
  • Added a checkbox to enable or disable all form fields in the forms that include every component of this package.
  • Version-Specific Documentation.

Fixes 🛠️

  • Code optimization
  • Upgrade MUI Versions
  • Checkbox default label now renders with label prop
  • Add disabled prop in RHFCheckboxGroup & RHFRadioGroup
  • Improve implementation for RHFNativeSelect & RHFColorPicker. Check Migration Guide for more details.
  • Update v1 docs

Compatibility with MUI v6 and above

Introduced a flag isAboveMuiV5 in the code to handle the deprecation of the following props when using this package with MUI v6 or above. The dependencies have also been upgraded to care care of this.

Mui ComponentDeprecated Prop in v5Use InsteadComponents Affected
AutocompleteChipPropsslotProps.chipRHFAutocomplete, RHFMultiAutocomplete, RHFCountrySelect
TextFieldinputPropsslotProps.htmlInputRHFAutocomplete, RHFMultiAutocomplete, RHFCountrySelect
TextFieldInputPropsslotProps.inputRHFPasswordInput, RHFTagsInput, RHFPhoneInput

Upgrade Dependencies

Package NamePrevious VersionCurrent Version
Docusaurus3.5.23.6.3
@mui/material, @mui/icons-material5.16.76.1.10
@mui/material-nextjs5.16.66.1.9
@mui/x-tree-view6.17.07.23.0
@mui/x-date pickers7.23.07.23.2
react-color-palette7.2.27.3.0

1.0.3

Released - 1 Nov, 2024

  • Fix defaultFormHelperTextSx bug in ConfigProvider.
  • Handle snake-case convention to render default form label text.
  • Added Examples and Playground links on appbar in docs website.
  • Added downloads per month metric in README.
  • Use tsc-alias for alias imports.
  • Lint package using my own eslint config.
  • Update search keywords in package.json.
  • Change next version from 14.2.3 to 14.2.16.
  • Remove badges from demo website homepage due to size inconsistency.