angular-form-for
Advanced tools
Changelog
4.1.11
Fixed TypeError: Cannot read property 'unwatchers' of undefined
bug reported in issue #186.
Special thanks to @baconcutter for submitting this PR.
Changelog
4.1.10
Validation now properly handles minimum
and maximum
values of 0 instead of filtering them out as falsy.
Changelog
4.1.9
Multiple formForBuilders can now be used within a form. This enables automatic rendering for parts of the form and manual rendering for others. (Or automatic rendering for separate subections of the form.)
formForBuilder supports template
attribute per view-field (to be passed to individual form control directives).
Required field rule can be a function now as well.
Big thanks to indrimuska for this release.
Changelog
4.1.8
Form builder now supports HTML 5 input types. Field increment validation properly handles floating point values.
Changelog
4.1.7
Fixed checkbox-field
issue where changed
property had the wrong type ("@" instead of "&").
Added new numeric validation rule: increment
.
Numeric validation rules minimum
, maximum
, and (new) increment
are automatically passed through to <input type="number"> for text-field
s.
Changelog
4.1.6
Form controller passed as 2nd argument to default/global form-submit and form-error handlers.
Changelog
4.1.5
Fixed a small oversight in text-field
that made the controller
scope property required (when it should be optional).
Changelog
4.1.4
The checkbox-field
behaves more inline with native AngularJS checkbox regarding true/false values based on selection.
The text-field
now allows users to bind to the inner NgModelController
for increased functionality.
The radio-field
now allows its options to contain HTML for their display.
Minimum and maximum validation rules now display a meaningful validation-failure message by default.
For more information refer to pull-requests #157, #158, #159, and #160.
Thanks to @indrimuska for contributing this release!
Changelog
4.1.3
New defaultSelectEmptyOptionValue
property added to FormForConfiguration
allowing for greater control over "empty" select menus.
Checkbox directive exposes all HTML attributes via scope for custom renderer use.
Field name passed in as 4th parameter to custom validation functions in case it is convenient.
Thanks to @palodelincak for contributing this release!
Changelog
4.1.2
PR from @nickguletskii moving <submit-button>
's button-class
attribute to the scope for better dynamic support.