Skip to content

Releases: form-atoms/field

v4.0.3

14 Jan 15:23
Compare
Choose a tag to compare

4.0.3 (2024-01-14)

Bug Fixes

v4.0.2

14 Jan 10:41
Compare
Choose a tag to compare

4.0.2 (2024-01-14)

Bug Fixes

v4.0.2-next.2

14 Jan 10:27
Compare
Choose a tag to compare
v4.0.2-next.2 Pre-release
Pre-release

4.0.2-next.2 (2024-01-14)

Bug Fixes

v4.0.2-next.1

14 Jan 08:53
Compare
Choose a tag to compare
v4.0.2-next.1 Pre-release
Pre-release

4.0.2-next.1 (2024-01-14)

Bug Fixes

  • listField: use ListAtomConfig with the invalidItemError (#74) (6d28e0d)

v4.0.1

11 Jan 09:16
Compare
Choose a tag to compare

4.0.1 (2024-01-11)

Bug Fixes

  • listAtom: #68 the validateatom of listatom should listen to the validation of in… (#70) (1679827), closes #69 #67 #71

v4.0.0

05 Jan 14:30
Compare
Choose a tag to compare

4.0.0 (2024-01-05)

BREAKING CHANGES

  • the ListField no longer uses path access to form fields, instead it works directly with the new listField()
  • The EmptyMessage render prop has been renamed to simply Empty:
<ListField
  field={fields.luckyNumbers}
-  EmptyMessage={() => <p>No lucky numbers</p>}
+  Empty={() => <p>No lucky numbers</p>}
>
  • fix(ListField): Rename render props for add/remove button

BREAKING CHANGE

the AddItemButton and RemoveItemButton props were renamed to AddButton and RemoveButton respectively.

  • docs(ListField): fix nested example

  • fix(listAtom): reset nested forms

  • fix(listField): adding new item to list revalidates field with a change event

  • fix(listField): revalidate the field with change event when the item is removed

  • test & callback wrapper

  • fix: nested listAtom in listAtom validation

v4.0.0-next.1

05 Jan 14:24
Compare
Choose a tag to compare
v4.0.0-next.1 Pre-release
Pre-release

4.0.0-next.1 (2024-01-05)

BREAKING CHANGES

  • the ListField no longer uses path access to form fields, instead it works directly with the new listField()
  • The EmptyMessage render prop has been renamed to simply Empty:
<ListField
  field={fields.luckyNumbers}
-  EmptyMessage={() => <p>No lucky numbers</p>}
+  Empty={() => <p>No lucky numbers</p>}
>
  • fix(ListField): Rename render props for add/remove button

BREAKING CHANGE

the AddItemButton and RemoveItemButton props were renamed to AddButton and RemoveButton respectively.

  • docs(ListField): fix nested example

  • fix(listAtom): reset nested forms

  • fix(listField): adding new item to list revalidates field with a change event

  • fix(listField): revalidate the field with change event when the item is removed

  • test & callback wrapper

  • fix: nested listAtom in listAtom validation

v3.8.14

21 Dec 15:57
Compare
Choose a tag to compare

3.8.14 (2023-12-21)

Bug Fixes

v3.8.13

05 Dec 17:03
Compare
Choose a tag to compare

3.8.13 (2023-12-05)

Bug Fixes

  • CheckboxGroup: option type as checkbox, add tests (d0c7a6f)

v3.8.12

05 Dec 13:14
Compare
Choose a tag to compare

3.8.12 (2023-12-05)

Bug Fixes

  • test: add coverage action (962eb86)