Skip to content
Playground

@sjsf/form

  • Extract array field logic into createArrayContext function (99b77fb)

  • Extract object field logic into createObjectContext function (73ee1fb)

  • Add validators/precompile submodule (9882dd8)

  • Add arraySubSchemasMergeType option for mergeSchemas function (b2c896b)

  • Rename fields/extra-widgets/file-widget to fields/extra-widgets/file (d75d847)

  • Rename FoundationalComponent to FoundationalComponentType (9ca2d7f)

  • Relax component compatibility checks. (cb176ac) Add a type discriminator for field, template, and widget properties. Remove Equal and ExpandAndEqual types from lib/types

  • Add support for extra attributes in input, textarea, and select attribute functions (ef7ea00)

  • Remove UiSchemaRootContent type (49e4b89)

  • Add fromFactories function to lib/resolver (61b8dab)

  • Add tagsField extra field and tagsWidget extra widget definition (cff3574)

  • Add extraUiOptions property to form options (1a552e8)

  • Add useDatePickerForDateFormat function to fields/extra-widgets/date-picker (768f8c2)

  • Add label component (b215668)

  • Add useLabel property for the fieldTemplate component (e8eaae3)

  • Remove forId from the errorList component props (f6588ff)

  • Remove proxy function from lib/svelte.svelte (1138f61)

  • Remove required and forId from the title component props (52676ca)

  • Pass widgetType property to the fieldTemplate component (749a333)
  • Fixed enumField recognition in compat resolver (6f4942b)
  • Bump svelte to 5.25.0, relax patch versions of peer dependencies. (33fcab1)
  • Refactor matching logic to improve validation performance and accuracy (69535c3)
  • The getValueByPath function has been returned. (f37bf4a)

  • Add standard schema form value validator (c43eb93)

  • Add function getRootSchemaTitleByPath (84f9ff9)

  • The DefaultFormMerger class has been replaced by the createFormMerger factory. (#83)

  • Remove AnyKey type (#83)

  • Remove getValueByPath function (#83)

  • Add getSchemaDefinitionByPath function (#83)

  • Add getUiSchemaByPath function (#83)

  • Add options parameter to createFormMerger factory (0bcf9c6)

  • Make checkboxes and file widgets optional (#81)

  • Move checkboxes and file widgets to extra folder (#81)

  • Fix theme resolver type (#81)

  • Fix type of fields resolver (#81)

  • Remove lib/deep-equal submodule (#78)

  • Remove use-mutation submodule (#78)

  • Migrate to resolver based providers (#78)

  • Remove legacy-omit-extra-data submodule (#78)

  • Remove asSnippet function (#78)

  • Rename submodule prevent-data-loss to prevent-page-reload (#78)

  • Migrate to a new Validator type model (#78)

  • Add env lib (#71)

  • Add css lib (#71)

  • Add resolver lib (#78)

  • Use keyed array inside an array field to preserve items state (#65)
  • Add omit extra data submodule (#56)

  • Add create action submodule (#61)

  • Add fake-validator submodule (#60)

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

  • Add isSchemaValueDeepEqual and isSchemaDeepEqual functions (#55)

  • Add createForm3 function (#54)

    • Replace useForm2 with createForm3.
    • If custom form is used it should call setFormContext(form.context) before using FormContent and SubmitButton components.
  • Extract array and object fields logic into their contexts (#50)

  • Bump dev deps (a7dd2ce)

  • Fix array based inputs validation (#40)

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

  • Add parent property to the SchemaTraverserContext (#28)

  • Add additional property key validator (#28)

  • 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.

  • #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

  • #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

  • 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

  • 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

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

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

  • 4f8c576 Thanks @x0k! - Fix defaults population for properties from dependencies
  • 67ff48c Thanks @x0k! - Add merger form option

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

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

  • 63293f8 Thanks @x0k! - Add getSnapshot property

  • 0a4bad3 Thanks @x0k! - Add FormBase, getDefaultFormState exports
  • 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

  • d36a76c Thanks @x0k! - Remove form readonly attribute (use inert instead)
  • ea62b7c Thanks @x0k! - Make default behavior of the form the same as native form

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

  • c0cba76 Thanks @x0k! - Update options mapping, for custom mappers
  • 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

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

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

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