Skip to content
Playground

@sjsf/form

@sjsf/form

1.9.2

Patch Changes

1.9.1

Patch Changes

  • Use keyed array inside an array field to preserve items state (#65)

1.9.0

Minor Changes

  • Add omit extra data submodule (#56)

  • Add create action submodule (#61)

  • Add fake-validator submodule (#60)

  • Add FormElement, RawForm, Form2 components (#60)

Patch Changes

1.8.0

Minor Changes

  • Add isSchemaValueDeepEqual and isSchemaDeepEqual functions (#55)

  • Add createForm3 function (#54)

    Migration

    • Replace useForm2 with createForm3.
    • If custom form is used it should call setFormContext(form.context) before using FormContent and SubmitButton components.

Patch Changes

  • Extract array and object fields logic into their contexts (#50)

  • Bump dev deps (a7dd2ce)

1.7.0

Minor Changes

Patch Changes

  • Fix array based inputs validation (#40)

  • Do not consider const in readonly attribute calculation. (#34)

1.6.1

Patch Changes

1.6.0

Minor Changes

  • Add parent property to the SchemaTraverserContext (#28)

  • Add additional property key validator (#28)

1.5.1

Patch Changes

  • d8b4211 Thanks @x0k! - Fix multi-field selector

    This is not a proper fix (array of multi-fields is still broken) but it’s a good place to start.

1.5.0

Minor Changes

  • #26 c75aa31 Thanks @x0k! - Add preventDataLoss function for handling beforeunload event

  • #26 dad20e1 Thanks @x0k! - Allow to pass multiple arguments to mutation.run method

  • #26 a6606d1 Thanks @x0k! - Add form option pseudoIdSeparator

Patch Changes

  • #26 34b2481 Thanks @x0k! - Changed the value of DEFAULT_ID_SEPARATOR

    This change may be a BREAKING change for you if you code implicitly depends on this constant.

  • #26 89a3e04 Thanks @x0k! - Remove forced undefined for value in onSubmit handler of the form

  • #26 0084022 Thanks @x0k! - Allow to pass a Map and Array to the initialErrors form option

1.4.0

Minor Changes

  • 56a406a Thanks @x0k! - Add isChanged property to the from state

  • 5ac9c3f Thanks @x0k! - Add updateErrorsByPath method to the FormState

  • d0d7d36 Thanks @x0k! - Add submit and reset methods to the FormState

  • #24 aed9889 Thanks @x0k! - Add useMutation API

1.3.0

Minor Changes

  • fe35ad2 Thanks @x0k! - Reset form value in default reset handler

  • #22 6144b9a Thanks @x0k! - Implement useForm API, Add FormContent and SubmitButton components

  • 13a1beb Thanks @x0k! - Add createForm function

  • e2c9d61 Thanks @x0k! - Allow to augment InputAttributes type

Patch Changes

1.2.0

Patch Changes

  • c80ec86 Thanks @x0k! - Fix reading title from undefined schema

  • 41980fd Thanks @x0k! - Sync dev packages versions

1.1.2

Patch Changes

  • 4f8c576 Thanks @x0k! - Fix defaults population for properties from dependencies

1.1.1

Patch Changes

1.1.0

Minor Changes

  • 67ff48c Thanks @x0k! - Add merger form option

  • 26a1f69 Thanks @x0k! - Add mergeFormDataAndSchemaDefaults method to Merger

Patch Changes

1.0.0

Major Changes

0.2.7

Patch Changes

0.2.6

Patch Changes

  • 607a3c3 Thanks @x0k! - Fix duplication of form field id in widgets with options list

  • 63293f8 Thanks @x0k! - Add getSnapshot property

0.2.5

Patch Changes

0.2.4

Patch Changes

0.2.3

0.2.2

Patch Changes

  • 0a4bad3 Thanks @x0k! - Add FormBase, getDefaultFormState exports

0.2.1

Patch Changes

  • 2003fcd Thanks @x0k! - Add icons property

  • b89983a Thanks @x0k! - Remove label for range widget

  • 2dd6c35 Thanks @x0k! - Disable copy button for fixed elements of array

  • da81bf8 Thanks @x0k! - Fix root-field layout gap

  • 339f9be Thanks @x0k! - Fix object property title evaluation

0.2.0

Minor Changes

  • d36a76c Thanks @x0k! - Remove form readonly attribute (use inert instead)

0.1.0

Minor Changes

  • ea62b7c Thanks @x0k! - Make default behavior of the form the same as native form

  • 3ce6404 Thanks @x0k! - Implement inputs validation feature

0.0.6

Patch Changes

  • c0cba76 Thanks @x0k! - Update options mapping, for custom mappers

0.0.5

Patch Changes

0.0.4

Patch Changes

  • 8c337bb Thanks @x0k! - Remove scheduler-polyfill due SSR errors

  • ae990a7 Thanks @x0k! - Move options mapping helpers to form package

  • f910d77 Thanks @x0k! - Add publint

  • 7d0cd8a Thanks @x0k! - Move datalist creation logic to form fields

0.0.3

Patch Changes

  • 6393f13 Thanks @x0k! - Remove tests files from bundle

  • 37c116b Thanks @x0k! - Remove unsupported fields, alert component

0.0.2

Patch Changes

  • f84af68 Thanks @x0k! - Update metainformation and release configs