Skip to content

react: v1.0.0

Compare
Choose a tag to compare
@pregno pregno released this 10 Mar 16:21
cddb114

1.0.0 (2025-03-10)

⚠ BREAKING CHANGES

  • add FormField wrapper for input (#461)

Features

Bug Fixes

Upgrade guide

With the introduction of the new FormField component, we deprecated the following properties from the input elements:

  • label
  • hint
  • error

If you need to show one of the property above mentioned, you should wrap the input component with FormField and set the properties to the wrapper.
For example:

Previous

<TextInput label={{text: 'First Name' }} hint={{text: 'Add your first name' }} id='firstName'/>

With FormField

<FormField label={{text: 'First Name' }} hint={{text: 'Add your first name' }}>
  <TextInput id='firstName'/>
</FormField>