nette/forms
Nette Forms is a PHP form-building library for creating secure, reusable web forms with built-in validation, CSRF protection, rendering helpers, and easy component composition. Integrates smoothly with Nette Framework but works standalone in any PHP app.
RadioList::getControl() return empty element when has no itemsContainer::addEmail(): added $maxLength=255 #303getValue() instead of loadHttpData()__call() nette/utils#315Container::getValue() supports conversion to enums [Close #337]setNullable()Helpers::getSupportedTypes() returns array #332isNullable()<option> is hidden/disabled when is requiredHidden on Windows:
Disabled on Apple:
SubmitButton::setValidationScope() accepts stringsContainer::getUntrustedValues() has default value<label> for CheckboxList/RadioList itemsaddDate(), addTime() & addDateTime(), addColor()getCacheKey() to force refresh cacheaddFloat()Container::getValues() respects validation scope #287<dialog> by defaultgetUnsafeValues() renamed to getUntrustedValues()Form::initialize() sets 'secure' flag nette/http#217ControlGroup::getOption() parameter $default is silently deprecatedForm::addProtection() fixed error "Argument 3 must be of the type string or null, int given"fireRenderEvents()addFilter()getValue() #277<button> #273Form::addGroup() loose type (#269)<dialog> in Opera & mobile Chromium because it loses focus after alert() #275showModal() methodForm::getValues() fixed when in validation scope is containercompatible with PHP 8.0
toggle()toggle() even during initialization (possible BC break)hasOwnProperty() checkvalidateControl() #252For the details you can have a look at the diff.
For the details you can have a look at the diff.
validateNumeric() accepts unsigned integer #246getIterator() moves BLANK before FILLED #233getToggleStates() synced with netteForms.js toggleControltoggleControl(), synced with validateControl()validate() $emptyOptional is always false in BLANK conditionFor the details you can have a look at the diff.
setOptionAttribute()validateInteger() returns false when integer is too bigdata-nette-rules #243getLabel() removed return type void #241For the details you can have a look at the diff.
setNullable() and addFilter() #171addRule() checks upload_max_filesize limitremoveRule()setHtmlAttribute()formatMessage() label is translated using form translator (#237)For the details you can have a look at the diff.
formatMessage() Fixed using label placeholder in validation rule with Html label (#235)__toString() is allowed since PHP 7.4For the details you can have a look at the diff.
How can I help you explore Laravel packages today?