Skip to content

Releases: form-js/forms.js

1.1.11

10 Jul 19:21

Choose a tag to compare

added support for group label as function returning html element

1.1.10

09 Jul 19:11

Choose a tag to compare

  • Added event support for form, fields, button and group.
  • Improved typing
  • Added getErrors method for form

1.1.8

28 Jun 05:36

Choose a tag to compare

  • updated phone field default validation
  • prepared environment for local testing
  • added support for async server side option
  • added support for option groups both static or server side async
  • enhanced password field with peek functionality

Release 1.1.3

14 Apr 16:44

Choose a tag to compare

  • Fix an issue that could prevent proper submit in some specific cases
  • Fixed an issue that could prevent validation of form fields on form submit in some specific cases

Release 1.1.2

12 Apr 18:11

Choose a tag to compare

  • minor security improvements.
  • button and static field templates now can also be input as function that returns HTML element structure.
  • removed form parameter from submit function, and event parameter is optional for easier submit

Release 1.1.1

25 Mar 16:50

Choose a tag to compare

  • changed icon for time input

1.1.0

25 Mar 15:41

Choose a tag to compare

  • new vue container package
  • conditions can now be parsed from string (feature prepared for future json file options support)
  • add more exports from core
  • added calendar icon for enhanced date inputs
  • if input is hidden the value is removed from form data
  • implemented global settings that can be defined are are reused per constructor type
  • updated readme
  • converted strings into constants to remove any issues with typo etc. in future
  • improved types in date inputs
  • created 99% jest tests coverage
  • implemented destroy function for inputs and form
  • usePlugin function now accepts array of PluginSettings
  • implemented full accessability

1.0.21

11 Feb 14:51

Choose a tag to compare

  • updated default validation of number field, the min and max options are now taken in consideration
  • switch from tslint to eslint
  • updated email validation to be more inclusive
  • added pipelines to check lint and build status of merges
  • updated usePlugin function to accept both PluginSettings[] and single PluginSettings passed into it
  • added export for FormOptions and GroupOptions interfaces from core index

Release 1.0.20

04 Feb 08:59

Choose a tag to compare

  • properly typed field values
  • Form class can now be initiated with both HTMLElement or ID string

Release 1.0.18

19 Dec 14:59

Choose a tag to compare

  • added full acessability to core package
  • added field-disabled class to apply on container when field disabled
  • fix an issue where absence of main radio label caused subsequent labels to not render