This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Tags: zendframework/zend-form
Tags
zend-form 2.14.2 Added ----- - Nothing. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#232](#232) fixes validating `$creationOption` of `Zend\Form\ElementFactory`. Allowed values are: array, Traversable or null. If invalid value provided exception will be thrown. - [#234](#234) registers `Search` and `Tel` form elements within `Zend\Form\FormElementManager` plugin manager.
zend-form 2.14.1 Added ----- - Nothing. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#230](#230) fixes the "`__clone` method called on non-object" error that happens when the `$targetElement` is `null` within a `Collection` instance. It now properly sets the data to an empty array in such circumstances.
zend-form 2.13.0 Added ----- - [#224](#224) adds support for zend-hydrator v3 releases, while keeping support for versions 1 and 2. - [#211](#211) adds support for the HTML5 `minlength` attribute in all form elements that support it. - [#217](#217) adds `Zend\Form\View\HelperTrait`, which can be used to provide IDE autocompletion for view helpers provided by zend-form. See https://docs.zendframework.com/zend-form/view-helpers/#ide-auto-completion-in-templates for more information. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - Nothing.
zend-form 2.12.1 Added ----- - Nothing. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#218](#218) ensures object values of select elements can be rendered without error. - [#216](#216) fixes an issue when performing data binding and a fieldset has no mapped input elements, casting `null` values to empty arrays to ensure they can be passed to an input filter. - [#207](#207) fixes the return value annotation for the `Fieldset::get()` method to indicate it can also return a `FieldsetInterface` instance.
zend-form 2.12.0 Added ----- - [#194](#194) adds the ability to whitelist additional HTML attributes for use with a view helper, as well as attribute prefixes. These can be enabled via the following: ```php $helper->addValidAttribute('attribute-name'); $helper->addValidAttributePrefix('prefix-'); ``` - [#188](#188) adds a new method to the `FormElementErrors` view helper, `setTranslateMessages(bool $flag)`. By default, the helper continues to translate error messages (if a translator is present), as introduced in 2.11.0. However, using this method, you can disable translation, which may be necessary to prevent double translation and/or to reduce logs from missed translation lookups. Because the method implements a fluent interface, you may do so in one line: ```php echo $this->formElementErrors()->setTranslateMessages(false); ``` Note: you will need to reset the value afterwards if you want translations to occur in later invocations. Changed ------- - [#193](#193) modifies how attributes are escaped. If zend-espaper raises an exception for an invalid attribute value, helpers will now catch the exception, and use a blank value for the attribute. This prevents 500 errors from being raised for such pages. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - Nothing.
zend-form 2.11.0 Added ----- - [#104](#104) adds the ability for the `FormElementErrors` view helper to translate validation error messages using the composed translator and text domain instances. - [#171](#171), [#186](#186), and [#187](#187) add support for PHP 7.2. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - [#171](#171) removes support for HHVM. - [#186](#186) removes support for PHP 5.5. Fixed ----- - [#162](#162) fixes an issue with hydration when a form has called `setWrapElements(true)`, ensuring that binding values in a fieldset will correctly identify the elements in the provided data. - [#172](#172) fixes the `DateTime` element such that it no longer attempts to use its `DATETIME_FORMAT` constant, but, rather, the value of the `$format` property, when representing the element; this change allows developers to override the format, which was the original intention. - [#178](#178) loosens the checks in `Zend\Form\Element\DateTime::getValue()` to check against PHP's `DateTimeInterface` (vs `DateTime`) when retrieving the value; this fixes edge cases where it was instead returning the format for `DateTimeImmutable` values.
PreviousNext