- none
fromJSON()
finally working flawless
- Upgrade to Angular
2.1.0
- none
- support for nested
templates
(closes #139)
disabledUpdates
Rx.Subject
added for setting activation state at model level
- none
- none
focus
andblur
outputs added toDynamicFormControlComponent
for event bindings (closes #130)- JSON export code has been improved
- none
- some JSON export flaws have been fixed
- !!! IMPORTANT !!!
[(ngModel)]
bindings have been completely removed. If you need to update thevalue
of anyDynamicFormControlModel
at runtime usevalueUpdates
Rx.Subject
(see README.md)
- none
- proper JSON export of all
DynamicFormControlModel
s (closes #125)_
- none
- none
DynamicSwitchModel
introduced inui-material
id
attribute is now bound again to improve accessibility (see #42)disabled
bindings added inui-material
where appropriate
- none
- Webpack flaws fixed (closes #118)
- none
- !!! IMPORTANT !!! form control relation API changed (see
README.md
)
files
field added toDynamicInputModel
(closes #114)
- Multi-related Form Controls (closes #115)
- none
- none
- Related Form Controls(closes #111)
- !!! IMPORTANT !!! UMD bundles now provided in
bundles
sub folder
- UMD bundles now work correctly for all module systems (closes #106)
- none
- none
- Migration to Angular 2.0 final (closes #100)
fromJSON()
function added toDynamicFormService
(closes #99)
- none
- none
- UMD bundles added (see
README.md
)
- none
- bad
BrowserModule
imports replaced byCommonModule
(closes #89)
- Migration to PrimeNG beta.15 (
ui-primeng
working again)
- !!! IMPORTANT !!!
DynamicFormsCoreModule
now needs to be imported in app rootNgModule
viaforRoot()
- !!! IMPORTANT !!!
disabled
property bindings were removed! Usedisable()
andenable()
functions ofDynamicFormControlComponent
instead (see Known Issues for explanation) help
property ofDynamicFormControlModel
renamed tohint
- none
- Migration to Angular 2 RC.6
- Migration to Angular 2 Material alpha.8
required
property binding re-added toDynamicFormControlComponent
s due to fixes in Angular 2 RC.6tabIndex
property added toDynamicFormValueControlModel
-
Changing the
disabled
property ofDynamicFormControlModel
after initialization has no effect. This is due to Angular 2 RC.6 not supportingdisabled
property bindings anymore! Usedisable()
andenable()
functions ofDynamicFormControlComponent
as a workaround! -
Setting
disabled: true
on anyDynamicFormControlModel
inui-material
causes an exception. This is due to a bug in Angular 2 Material alpha.8-1.
- none
FormGroup
validator extras now set correctly (closes #79)
- Sample app start simplified
*.ts
files added to npm packages for source map support (closes #82)
- property
validatorsAsync
ofDynamicFormValueControlModel
renamed toasyncValidators
- none
- support for
FormGroup
andFormArray
validator functions added (closes #79) ui-primeng
now working withNgModule
- none
required
attribute (temporarily) removed from templates due to issues still not being resolved in Angular 2
- none
NgTemplateOutletContext
is now correctly set for<template>
forDynamicFormArrayModel
(closes #67)
- !!! IMPORTANT !!! ng2 DynamicForms now supports
NgModule
--> Please read updated `README.md
- none
- none
- none
DynamicFormArrayModel
andDynamicFormGroupModel
now working in all UI packages
- !!! IMPORTANT !!!
DynamicFormModel
has been completely removed --> use a simpleArray<DynamicFormControlModel>
instead - !!! IMPORTANT !!!
findById()
function ofDynamicFormModel
has been moved toDynamicFormService
- none
DynamicCheckboxModel
now working correctly again inui-primeng
- none
DynamicFormControlModel
renamed toDynamicFormValueControlModel
DynamicFormAbstractControlModel
renamed toDynamicFormControlModel
- Nested form groups are now supported (closes #57)
- Type safety for
DynamicFormControlModel
coniguration objects added
Please checkout updated README and examples!
- !!! IMPORTANT !!!
items
property ofDynamicFormControlModel
andDynamicCheckboxGroup
has been renamed togroup
- !!! IMPORTANT !!!
DynamicFormService.createFormGroup
now expectsArray<DynamicFormControlModel<any>>
instead ofDynamicFormModel
- !!! IMPORTANT !!!
@Input()
form
ofDynamicFormControlComponent
has been renamed tocontrolGroup
- !!! IMPORTANT !!!
id
property binding ofDynamicFormControlModel
has been removed
- FormArrays are now fully supported (closes #53)
required
property ofDynamicFormControlModel
is now bound via[required]
and does not manually applyValidators.required
under the hood any morereadonly
property ofDynamicInputControlModel
renamed toreadOnly
- boolean
spellCheck
property added toDynamicInputControlModel
- default value for
autocomplete
property ofDynamicFormControlModel
is nowon
instead ofoff
text
property ofDynamicFormOption
renamed tolabel
DynamicCheckboxGroup
now working correctly inui-material
- Webpack bundling now supported (closes #47)
DynamicFormAutoFillService
added for importing and validating new HTML5 autofill detail tokensui-primeng
has arrived
maxlength
attribute is now bound correctly (closes #43)- labels of
DynamicCheckboxGroup
items do render now inui-basic
(closes #44) name
attribute now added to<fieldset>
(closes #45)disabled
attribute now added to all form controls
cls
configuration object has now nestedelement
configuration object to set css classes for certain elements (see example)name
property ofDynamicFormControlModel
cannot be set anymore by configuration (automatically mapped toid
)DynamicFormControlComponent
now throws when being bound to non-supported type ofDynamicFormControlModel
ui-material
finally working again after upgrading to new Angular 2 Material alpha.6 (closes #29)value
ofDynamicCheckboxModel
is now always initizialized withfalse
instead ofnull
when not explicitly set totrue
- datalists now supported by
DynamicInputControlModel
(list
property)
label
property ofDynamicFormControlModel
is now just a plainstring
instead of object (hidden
property is removed)
DynamicCheckboxGroupModel
has arrived (closes #32)
cls
is now a true optional declared constructor parameter- check included for mandatory
id
configuration property - #37 fixed
ui-foundation
has arrivedcls
configuration object is now a separate constructor parameter (the second) ofDynamicFormControlModel
in order to uncouple pure model configuration from style configurationcls
bugs in template files fixedreadonly
property introduced forDynamicFormInputModel
- Upgraded to RC.3
cls
property ofDynamicFormControlModel
refactored for advanced form layouts- Radio groups finally working in ui-basic and ui-bootstrap
- New chapter "Form Layouts" added in README.md
ui-material is currently broken due to Angular 2 Material not having upgraded to @angular/forms yet
- Updated everything to @angular/forms
order
property removed fromDynamicFormControlModel
DynamicRadioModel
renamed toDynamicRadioGroupModel
model
property ofDynamicFormModel
renamed toitems
- Major improvements and bug fixes for ui-bootstrap template
- Major improvements for example app
text
property removed fromDynamicCheckboxModel
due to redundancy (usetext
property oflabel
object instead)
DynamicTextInputModel
andDynamicNumberInputModel
condensed toDynamicInputModel
onBlur
andonFocus
event listeners added for input and textarea controls in ui-basic and ui-bootstrapmax
,min
, `step attributes now working correctly in ui-basic and ui-bootstraplabel
is now a configuration object with propertiescls
,hidden
andtext
- new property
cls
introduced inDynamicFormControlModel
for manually setting CSS classes for controls