Releases: nette/forms
Releases · nette/forms
Released version 3.2.5
Container::addEmail()
: added $maxLength=255 #303- ChoiceControl, MultiChoiceControl: disabled items are processed in
getValue()
instead ofloadHttpData()
- removed return type from
__call()
nette/utils#315 - SelectBox: fixed 2edbd6c
- netteForms: uses the submitter property
Released version 3.2.4
Container::getValue()
supports conversion to enums [Close #337]- UploadControl: added
setNullable()
- netteForms: rewritten to TypeScript
- Button: is omitted from values #330
- DefaultFormRenderer: fixed cummulate instances of Nette\HtmlStringable #335
Helpers::getSupportedTypes()
returns array #332- support for PHP 8.4
Released version 3.2.3
- netteForms: modernized code
- netteForms: reimplemented compact transmission mode via formdata event
- netteForms: processes only elements with 'data-nette-rules'
- netteForms: added typehints to jsDoc
- netteForms: improved badInput reporting
- netteForms: rule 'length' works with numbers #329
- Form: does not show 'no associated handlers' error if the form is not submitted by the button
- Blueprint: fixed nullable types detection
- TextBase, HiddenField: added
isNullable()
Released version 3.2.2
- SelectBox: prompt
<option>
is hidden - SelectBox: prompt key is always unique
- typos
Released version 3.2.1
- netteForms: converts float & int to numbers #313
- partially revert "some classes marked as final (BC break)"
SubmitButton::setValidationScope()
accepts stringsContainer::getUntrustedValues()
has default value
Released version 3.2.0
- requires PHP 8.1
- uses PHP 8.1 features
- Latte: {inputError} must have argument
- BaseControl, ControlGroup::getOption() parameter $default is deprecated
- Container: getValues(true) is deprecated (BC break)
Released version 3.1.15
- added Blueprint, replaces LatteRenderer, DataClassGenerator, {formPrint}, {formClassPrint}
- DateTimeControl: default date for 'time' is 0001-01-01
- examples: updated bootstrap examples
- Latte: sets Tag::$node
- Latte: fixed rendering of empty
<label>
for CheckboxList/RadioList items
Released version 3.1.14
- added
addDate()
,addTime()
&addDateTime()
,addColor()
- netteForms: min/max/range can compare strings
- AVIF image support
- tests: grunt replaced with karma
- FormsExtension: added
getCacheKey()
to force refresh cache
Released version 3.1.12
- support for PHP 8.3
- added
addFloat()
Container::getValues()
respects validation scope #287- netteForms: bad numbers are checked at the beginning #289
- netteForms: the 'number' element value is not available only on badInput error
- netteForms: resets toggles when form is reset #306
- Latte: split initialization and form rendering
- netteForms: showModal uses
<dialog>
by default - removed fix for IE
- Container: const Array changed to public #301