Releases: jbandura/ember-legit-forms
Releases · jbandura/ember-legit-forms
2.2.0
2.1.1
Changes:
- [FEATURE] Pass in all supported attributes for
lf-select
,lf-input
and
lf-textarea
(#38) - [FEATURE] When i18n installed but the validation translation not defined use
the default one (#37) - [FEATURE] Add ability to provide custom error and success classes for validation, thanks @kcin1018!
- [FEATURE] Make it so that you can override
form-control
class on inputs (#53)
2.1.0
2.0.1
Changes:
- [INTERNAL] Update ember-cli-release and ember-one-way-controls to remove deprecations, thanks @maxwerr
- [BUGFIX] upgrade email validator, thanks @bardzusny!
2.0.0
Changelog:
- [BREAKING CHANGE] remove ember-get-owner-polyfill, thanks @maxwerr!
- [BREAKING CHANGE] remove 'ember-get-helper', thanks @bardzusny
- [FEATURE] you can now change rules object and it will trigger revalidation (same applies to
data
object) - thanks @bardzusny - [FEATURE] add
decimal
validator - thanks @bardzusny - [FEATURE] you can now show external errors
- [FEATURE] inputs now throw error if you omit the
name
attribute
1.1.4
CHANGELOG:
- [FIX] make sure not to use
this.attrs
as this can lead to buggy behaviour (thanks @bardzusny) # 1.1.3
1.1.3
CHANGELOG:
- [FEATURE] added option
preventSubmit
that makes sure the form will be not submitted when it's not valid. Instead it will display all errors. (thanks @michalsnik )
1.1.2
1.1.0
- [FEATURE] add fillIn helpers for acceptance and integration tests
- [FEATURE] add onSubmit handler to lf-form component + change tagName to form
- [INTERNAL] improve test coverage by adding acceptance tests
- [INTERNAL] upgrade ember & ember-cli versions
- [FIX] get rid of container lookup
- [FEATURE]
lf-form
component now also yieldsformValid
attribute which can
be used for example for blocking/enabling of submit buttons - [FIX] remove use of container in favor of using getOwner
- [BUGFIX] lack of
rules
hash no longer breaks the form - displays an error message instead - [FEATURE] added possibility to group repeated validations under
sharedValidations
key