Releases: nette/forms
Releases · nette/forms
Released version 2.4.9
- BaseControl: added ability to multiple forms with different HTML ID #188
- add Form::PATTERN_ICASE as a case-insensitive variant of Form::PATTERN; fixes #185 (#187)
- netteForms: uses unicode RegExp if is supported
- netteForms.js: support checking file name via pattern rule using HTML5 File API (#186)
For the details you can have a look at the diff.
Released version 2.4.8
Released version 2.4.7
- ChoiceControl, MultiChoiceControl: added
checkDefaultValue()
as replacement for $checkAllowedValues (#151) - Validator: method
validatePattern()
for FileUpload uses file name (#175) - netteForms.js: conforms with PHP FLOAT validation (#174)
- examples: bootstrap updated
For the details you can have a look at the diff.
Released version 2.4.6
- supports PHP up to 7.2
addError()
by default translates messages (BC break)- Revert "DefaultFormRenderer: added error message translation (#145)" #162 (introduced in v2.4.4)
- FormMacros: fix edcompatibility between n:class macro and n:name form macro. (#159)
- added Form::
reset()
For the details you can have a look at the diff.
Released version 2.4.5
- coding style: fixes, lowercase true/false/null
- $onClick handlers are called with argument $values (as $onSuccess)
- tests: improved $onSuccess & $onClick etc. tests
- DefaultFormRenderer: translates object 'label' & 'description' #142
- tests: added rendering + localization (#149)
- DefaultRenderer: fix for calling
renderErrors()
fromrenderPair()
which was caused by #145 (->form = NULL) (#150) - ControlGroup: added
remove()
andremoveOrphans()
#155 - SelectBox: only one item can be rendered as selected at the same time
For the details you can have a look at the diff.
Released version 2.4.4
- added support for static addCondition(TRUE | FALSE)
- netteForms.js: fixed 'Too much recursions' #143
- BaseControl::setDisabled(FALSE) reloads HTTP value #139
- DefaultFormRenderer: added error message translation (#145)
- Revert "TextBase: emptyValue is removed from value in
validate()
" -getValue()
can be called before validation - fixed phpDoc
For the details you can have a look at the diff.
Released version 2.3.12
Released version 2.4.3
- BaseControl::
setAttribute()
andsetType()
aliased tosetHtmlAttribute()
andsetHtmlType()
- CheckboxList: added item label prototype
- RadioList::
getLabelPart()
uses $itemLabel instead of $label - netteForms.js: fixed issue with button type=submit with html #137
- netteForms: forms with attribute 'novalidate' are not validated (BC break)
- becomes NPM package
- @return self -> static
For the details you can have a look at the diff.
Released version 2.4.2
- netteForms.js: cannot use
range()
to validate min/max (#136) - netteForms.js: added argument 'onlyCheck' to
validateForm()
#133 - netteForms.js: validity of input=number is checked in 'onlyCheck' mode
- Rules::
validate()
processes all conditions - fixed compatibility with PHP 7.1
- netteForms.js: fixed compatiblity with IE 8 (#127)
For the details you can have a look at the diff.