Skip to content

Releases: form-js/forms.js

1.1.8

28 Jun 05:36
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • changed icon for time input

1.1.0

25 Mar 15:41
Compare
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

Aim for big release (string conditions, tests and more features)

1.0.21

11 Feb 14:51
Compare
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
Compare
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
Compare
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

Release 1.0.16

18 Dec 11:50
Compare
Choose a tag to compare
  • Fix a bugs in imports and exports of core package
  • Preparing new unique fields for later release
  • updated readme files
  • resolved packages dependencies

Release 1.0.13

16 Dec 13:29
Compare
Choose a tag to compare
  • Removed any types where possible.
  • Form class updated to have default export