- fix stepUp/stepDown for numeric inputs and type=time (#118)
- fix valueAsNumber for type=time
- fix error message handling for radio buttons
- fix return values for ValidityState properties on non-input elements
- add ES module build
- fix dependency cycle. Rollup runs now w/o warnings
- add support for calling Hyperform on arbitrary DOM nodes
- add index.d.ts to npm package
- switch build tool to rollup
- remove deprecated underscore names
- fix revalidation for forms with novalidate attribute
- fix form validation error for detached elements
- fix event properties being set too late
- add new event "implicit_submit", that allows to prevent implicit submits
- fix application of class hf-user-invalid to checkboxes/radio buttons
- fix select boxes not respectin placeholder options
- validate dates stricter
- add TypeScript declarations
- fix problem, where badInput was not detected with hyperform(form) calls (issue #49)
- hide empty warnings with CSS
- fix select boxes with disabled options selected validating as required
- fix custom validation messages gone missing (regression from v0.9.17)
- prevent infinite loops from custom validators
- add tests to npm package
- live-update warnings, when
setCustomValidity()
is called - properly delete custom messages
- fix radio button warnings still being multiplied on submit
- update some dependencies
- add
CHANGELOG.md
- prevent
is_validation_candidate()
from running twice for each validation - re-allow validation of elements without
name
attribute, if asked directly - fix validation for partly required radio groups
- on form validation show only one warning per radio group
- prevent non-candidates from being handled
- fix tabbing into fields triggering revalidation
- fix
element.noValidate
being broken
- do not validate elements without name
- add guard against trying to remove a detached warning
- start removing default imports and add comments
- switch to
babel-preset-env
- add a command to quickly generate a
.po
file for l10n
- Connect error messages via
aria-describedby
- update README
- Fix for IE 10 & 11 not supporting multiple parameters for classList add() and remove() methods
- fix "novalidateOnElements" not added to settings
- use translation for base language, if available
- trigger a "forminvalid" event
- add option to autoload Hyperform
- fix bower.json's main field
- fix wrong value in
tooShort
message
- convert renderer methods to camelCase, too
- switch from snake_case to camelCase for public API
- upgrade ava (please run "npm install" after pull)
- remove mobile clients from test matrix, since they throw strange SauceLabs errors
- split "make test" in sub-targets
- extend saucelabs browsers to mobile
- fix Safari
<=
9 throwing error on uninstalling properties - enable tests for IE 9/10
- crank up the test matrix
- implement better "clicked on child of
<button>
" detection
- fix IE
<=
10 not knowing HTMLDocument
- reintroduce accidentally deleted Firefox safe-guard
- change the way we evaluate prevented submit event
- for whatever reason
insertRule()
now needs an explicit index
- add support for
\n
in error messages - fix child nodes mixing up
event.target
of button clicks
- allow filtering is_validation_candidate result
- make logging optional with debug=bool setting
- add
.hf-user-valid
- add more classes to mirror pseudo-classes
- adapt the date rendering in date and time input error messages
- fix IE not setting
defaultPrevented
- catch case, where native properties cannot be overloaded
- ignore non-essential files on (bower|npm) install
- fix the
prevent_implicit_submit
switch
- add setting
prevent_implicit_submit
- apparently
originalTarget
is a protected getter onEvent
- streamline form submission better
- fix some problems with non-AJAX form submission
- filter attributes before being set/get
- fix evaluation of "formnovalidate" on submit buttons
- fix polyfills not being applied in global context
- create hook registry w/o prototype
- add add_filter as alias to add_hook
- add current value as param to filters
- add call_filter to filter a value through hooks
- add hook infrastructure
- rename hyperform.register to hyperform.add_validator
- unify form submission a bit
- add name=value of submit button to form submit
- disallow multiple wrappers per form
- complete uninstall process
- define attribute helpers
- fix calling issue and tests
- add a "polyunfill" method mirroring polyfill()
- create dedicated "polyfill" method
- add a hybrid re-evaluation strategy
- fix leaking implementation
- allow renderer to be reset to default
- add /css to "files" setting in package.json
- remove necessity for some ES6 shims
- fix detection of revalidate=never
const
-antize all the things!- fall back to attribute data-validator for custom validation messages
- fix "blur" event delegation
- allow "onblur" for settings.revalidate
- support "never" for settings.revalidate
- add support for per-element custom messages
- make naming of component clearer
- uninstall more properties
- refactor validity checkers
- factor out the huge validity state checkers
- fix calls to polyfill w/ changed signature
- change rest of polyfills to use explicit element arg
- change some polyfills from
this
to explicit arg - set aria-live=polite on warnings
- enhance setting propagation
- switch case for a class
- add a destroy method to Wrapper
- polyfill some properties like element.maxLength
- trim email/url before validation
- fix possible loop in bad_input validator
- postpone creation of DOM elements
- add support for children of
<datalist>
not being validated - change overwrite behavior of property_installer
- add missing methods to
<form>
- branch out attach/detach renderer
- fix naming error
- make classes for validation / warnings configurable
- fix get_wrapper import :(
- make Wrapper.get_wrapped a standalone function
- fix wrong values in error messages
- fix bogged export
- add proper AMD and CJS versions
- fix evaluation of original badInput
- try to evaluate the original badInput state, too
- allow non-boolean returns in custom validators
- s/hyperform.add_renderer/hyperform.set_renderer/
- focus first invalid field on submit validation
- trigger a submit event manually when catching the original form submit
- fix wrong validity calculation
- call warning renderer for all radio buttons w/ same name
- change the way custom validators are called in customError
- fix setCustomValidity setter
- fix try to set property on possible primitive
- know your own wrapper functions...
- trigger "validate" on form before submit
- do report errors on input validation
- fix reportValidity not removing warning
- fix the way the wrapped container is fetched
- implement shortcut to find wrapper for element
- fix problems with maxlength (D'oh!) and Unicode string length
- apparently getElementsByName is not available on Element
- support dates in get_next_value
- put step validation consts in own file
- confirm step working as specced
- fix ms calculation
- add support for @accept
- fix minor errors
- add proper classes hf-(in)valid and aria-invalid on validation
- run validation for all inputs of a form
- fix annoying errors
- add Wrapper.install to allow adding fields dynamically
- add support for a non-custom "valid" event
- enhance
<fieldset>
support
- add support for non-standard "novalidate" on
<input>
elements
- make sure the registry always returns an array
- allow more than one custom validator per element
- add a registry for user-defined validators
- update README
- correct wrong typeof test
- change public API to simple callable
- support novalidate in submit catcher
- add first versions of step(Up|Down)
- fix type detection for valueAs*
- make step validation for months more robust
- add checkmarks to feature table
- update README
- reset the validity again, when an element becomes valid
- set the validation msg via original setCustomValidity
- add styles
- determine the type of an input more reliably
- fix issues and mask the WeakMap in message_store
- catch form submission and call our own reportValidity
- fix bugs
- react appropriately in reportValidity, when event is canceled
- publish Renderer.set as hyperform.add_renderer
- fix step validator for type=month
- allow overflowing months / dates
- restrict npm package to src and dist folders
- change l10n infrastructure
- make code more robust thanks to tests
- update bower keyword list
- fix npm version script
- add bower.json (for the good old times)
- publish original method as
_original_method
- support "jsnext:main" in package.json
- implement most of ValidityState.badInput
- disallow mark() on primitives
- fix problem with string_to_date parser
- fix determining current version during npm version bump
- switch to npm version for bumping versions
- allow step validator to consume most date types
- add license
- support date types in max/min validators
- prepare date support for validators
- put type information in single place
- fix minor issues
- mark all polyfills with a "hyperform" property
- change the way element.validity is installed
- allow capturing all inputs via prototype
- fix array search, rebuild
- change sprintf implementation
- fix getting Date from a week number
- fix valueAs* and add jsdom to tests
- fix padding in date_to_string
- fix valueAs*.install
- add valueAsNumber and fix issues with valueAsDate
- add polyfill for valueAsDate
- add version to interface
- fix some errors
- add build infrastructure
- start implementing the HTML5 form validation API