- Kendo UI package updated to 1.0.0
- NG Bootstrap UI template now implements
NgbRadioGroup(closes #351)
- All single TypeScript files are now transpiled to and published in ES2015 module format(
**/bundles/*.umd.jsbundle files are not affected by this) - NG Bootstrap template improvements
tabIndexnow supported inui-primeng- build refactoring
- sample app now also bundles flawless with Rollup
FileListis now correctly read from file inputs (closes #304)
- initial UI support for NG Bootstrap (closes #278)
- npm packages now contain an additional ES bundle for tree-shaking improvements
- new
DynamicTimePickerModeladded - initial timepicker support in
ui-ionic,ui-ng-bootstrapandui-primeng - update to PrimeNG
4.0.0(closes #340) - Remaining
noImplicitAny: trueTypeScript errors have been removed (closes #345)
- initial checkbox, input, radio group and textarea support in
ui-kendo moveFormGroupControl()function added toDynamicFormService(closes #339)
DynamicDatepickerModel has been renamed to DynamicDatePickerModel
placeholderproperty added toDynamicDateControlModel- initial datepicker support in
ui-kendo
DynamicFormBootstrapComponentnow has new@Input() asBootstrapFormGroup: This is a major improvement to make complex form layouts more easy to achieve. By defaultform-groupCSS class now is not set for nested form models anymore.
- Initial UI support for Ionic 2
README.mdfiles of UI packages now contain form control overview
- update to Angular Material beta.3
multiplenow working forDynamicSelectModelinui-materialmd-erroradded forDynamicInputModelandDynamicTextareaModelinui-material
- inital support for
DynamicEditorModelinui-primeng(closes #317) formatproperty added toDynamicDateControl(closes #318)- checkbox and radio button labels are now clickable in
ui-primeng(closes #319) - inital support for
Dateinputinui-kendo
[controlGroup]input binding ofDynamicFormControlComponentis now deprecated! Use[group]instead!
moduleIdis now removed from distributed component *.ts files (closes #301)
- Update to Angular 4 (closes #292)
- validation messages now working in nested form groups in
ui-materialandui-primeng(closes #294)
- added
moduleandtypingsproperties topackage.jsonto fix Rollup "MISSING IMPORTS" error (probably closes #267) DynamicFormArrayModeltypings adjusted (closes #289)
- custom template support in
ui-primeng(see example)
- custom templates are now working in deep nested dynamic form control components (closes #280)
findById()function ofDynamicFormServiceis now capable of looking up nested form group models (closes #286)- initial support for
Chipsinui-primeng(closes #275) - example code refactored
- custom
NG_VALIDATORSnow working when using Angular CLI withoutwebpack.config(closes #271) - initial addition of file control models
- initial support for
Uploadinui-kendo - update to Angular
2.4.8 - update to
@angular/material beta.2
- Template alignment can now be determined by
alignproperty (closes #264) - Templates can now be reused by using
modelTypeproperty (closes #265)
- dev mode template change detection bug fixed (closes #266)
- update to Angular
2.4.7 - update to Prime NG
2.0.0
- AoT-Compiling is now officially supported
- major template refactoring in all UI modules
maxandminsupport for calendar inui-kendo- update to Angular
2.4.6
- initial addition of date control models
- initial support for
Calendarinui-kendoandui-primeng fromJSON(json: string | Object[])function refactored to accept raw JSON strings and to reviveDateobjects- update to Angular
2.4.5
- functions to add and remove form controls after initialization added in
DynamicFormService(closes #252) - initial support for
AutoComplete,MaskedTextBoxandNumericTextBoxinui-kendo - update to Angular
2.4.4
- support for Kendo UI template directives added (see README.md, closes #247)
- initial multi select support added in
ui-kendo - update to Angular
2.4.3
- error messaging enabled in
ui-materialandui-primeng(closes #240) - update to Angular
2.4.2
- Caret now visible in Firefox (closes #237)
- validator properties can now be referenced in error messages (see README.md)
DynamicFormServicehas now a functionmoveFormArrayGroup(index: number, step: number, formArray: FormArray, model: DynamicFormArrayModel)to dynamically move form array elements (see updated live example)get(index: number)function added toDynamicFormArrayGroupModel[(ngModel)]could be completely removed fromui-primengtemplate at last
!!! IMPORTANT !!!
Adding custom templates has become more powerful!
You now need to assign a modelId attribute to any of your custom templates.
Please see new chapter in README.md and updated examples!
- update to
@angular 2.4.1 - update to
@angular/material beta.1 @Input() showCharacterHintadded inDynamicFormMaterialComponentDynamicSelectModelnow enabled inui-kendo
DynamicFormsCoreModulenow working when used in async routes (closes #212)
- async routing example added to demo application
- template improvements for checkboxes (closes #214)
hintproperty added toClsinterface
DynamicSliderModelandDynamicSwitchModelare now correctly deserialized from JSON
minandmaxtyping updated (closes #206)- update to
@angular 2.3.1 - update to
foundation 6.3.0 - update to
primeng 1.1.0
- custom validator functions are now correctly detected in model configuration (closes #200)
DynamicSliderModeladded (working inui-material,ui-kendo,ui-primeng)DynamicSelectModelnow working inui-materialhintnow working inui-basic(closes #203)- update to
@angular 2.3.0 - update to
rxjs rc.4 - update to
zone.js 0.7.2 - update to
@angular-material alpha-11.3
!!! IMPORTANT !!! All Validators of any DynamicFormControlModel now need to be configured by a simply object literal (similar to errorMessages) instead of an Array<ValidatorFn | AsyncValidatorFn>.
This change was unavoidable to allow proper serialization for all validators as well as a significant code reduction (closes #200)!.
Defining validators becomes even more easy now!
Before:
new DynamicInputModel({
id: "myInput",
validators: [Validators.required, Validators.minLength(3)]
})After:
new DynamicInputModel({
id: "myInput",
validators: {
required: null,
minLength: 3
}
})Please see updated example for practical use!!!
ui-materialnow supportsoffLabelandonLabelproperties ofDynamicSwitchModel(see Material example)- update to
@angular 2.2.4
changeevent handler inDynamicFormBasicComponentcorrected (closes #197)
- bad
@angular/materialimport removed fromDynamicFormControlComponent(closes #194)
ui-foundationandui-primengnow supportDynamicSwitchModelDynamicSwitchModelnow hasoffLabelandonLabelpropertiesDynamicFormControlRelationModelrefactored andDynamicFormRelationServiceintroduced- template files optimized
- update to tslint
4.0.0
DynamicCheckboxGroupModelinternally works identical toDynamicFormGroupModelnow in order to make property bindings work correctly (closes #172 and #189)
- !!! IMPORTANT !!!
blur, focus, changeevents are now emitted for single checkbox in aDynamicCheckboxGroupModelinstead of the whole group @angular/materialchange events are now correctly included inDynamicFormControlEvent- update to
@angular 2.2.3 - update to
primeng 1.0.0
addGroup()function ofDynamicFormArrayModeldoes now work correctly (closes #183)
- update to
@angular 2.2.1 - update to
primeng rc.5 add(),insert()andremove()function added toDynamicOptionControlModel(closes #180)
DynamicFormControlComponentdoes now emit aDynamicFormControlEventon blur, change and focus instead of simply passing through$event:
export interface DynamicFormControlEvent {
$event: Event | FocusEvent;
control: FormControl;
model: DynamicFormControlModel;
}
- blur, change and focus events are only emitted for single form controls and checkbox groups from now on (see Bootstrap example)
- update to
@angular 2.2.0 - update to
@angular/material alpha.10 - update to
primeng rc.4 valueUpdates Rx.Subjectcan now safely be used from anywhere to listen to new valuescheckedsetter/getter andtoggle()function added toDynamicCheckControlModelcheckAll()anduncheckAll()function added toDynamicCheckboxGroupModelselect()andget()function added toDynamicOptionControlModelget()function added toDynamicFormGroupModelandDynamicFormArrayModel- textarea support for
ui-materialadded
checkedattribute added to templates (closes #168)
validatorsdeserialization fixed (closes #163)rxjspeer dependency downgraded to match with Angular 2 (closes #162)
- error validation messaging added for
ui-basic(closes #154)
DynamicCheckboxGroupModeltemplate bugs fixed (closes #160)
label,legend,prefix,suffixandhintare now bound via[innerHTML](see #157)
- Error Messaging system to
ui-bootstrapandui-foundationadded (closes #153 , see README.md) Thanks @DavyJohnes @Output() changeEventEmitter<Event>added toDynamicFormControlComponent(#149)- Update to
@angular 2.1.2
fromJSON()finally working flawless
- Upgrade to Angular
2.1.0
- support for nested
templates(closes #139)
disabledUpdatesRx.Subjectadded for setting activation state at model level
focusandbluroutputs added toDynamicFormControlComponentfor event bindings (closes #130)- JSON export code has been improved
- some JSON export flaws have been fixed
- !!! IMPORTANT !!!
[(ngModel)]bindings have been completely removed. If you need to update thevalueof anyDynamicFormControlModelat runtime usevalueUpdatesRx.Subject(see README.md)
- proper JSON export of all
DynamicFormControlModels (closes #125)_
DynamicSwitchModelintroduced inui-materialidattribute is now bound again to improve accessibility (see #42)disabledbindings added inui-materialwhere appropriate
- Webpack flaws fixed (closes #118)
- !!! IMPORTANT !!! form control relation API changed (see
README.md)
filesfield added toDynamicInputModel(closes #114)
- Multi-related Form Controls (closes #115)
- Related Form Controls(closes #111)
- !!! IMPORTANT !!! UMD bundles now provided in
bundlessub folder
- UMD bundles now work correctly for all module systems (closes #106)
- Migration to Angular 2.0 final (closes #100)
fromJSON()function added toDynamicFormService(closes #99)
- UMD bundles added (see
README.md)
- bad
BrowserModuleimports replaced byCommonModule(closes #89)
- Migration to PrimeNG beta.15 (
ui-primengworking again)
- !!! IMPORTANT !!!
DynamicFormsCoreModulenow needs to be imported in app rootNgModuleviaforRoot() - !!! IMPORTANT !!!
disabledproperty bindings were removed! Usedisable()andenable()functions ofDynamicFormControlComponentinstead (see Known Issues for explanation) helpproperty ofDynamicFormControlModelrenamed tohint
- Migration to Angular 2 RC.6
- Migration to Angular 2 Material alpha.8
requiredproperty binding re-added toDynamicFormControlComponents due to fixes in Angular 2 RC.6tabIndexproperty added toDynamicFormValueControlModel
-
Changing the
disabledproperty ofDynamicFormControlModelafter initialization has no effect. This is due to Angular 2 RC.6 not supportingdisabledproperty bindings anymore! Usedisable()andenable()functions ofDynamicFormControlComponentas a workaround! -
Setting
disabled: trueon anyDynamicFormControlModelinui-materialcauses an exception. This is due to a bug in Angular 2 Material alpha.8-1.
FormGroupvalidator extras now set correctly (closes #79)
- Sample app start simplified
*.tsfiles added to npm packages for source map support (closes #82)
- property
validatorsAsyncofDynamicFormValueControlModelrenamed toasyncValidators
- support for
FormGroupandFormArrayvalidator functions added (closes #79) ui-primengnow working withNgModule
requiredattribute (temporarily) removed from templates due to issues still not being resolved in Angular 2
NgTemplateOutletContextis now correctly set for<template>forDynamicFormArrayModel(closes #67)
- !!! IMPORTANT !!! ng2 DynamicForms now supports
NgModule--> Please read updated `README.md
DynamicFormArrayModelandDynamicFormGroupModelnow working in all UI packages
- !!! IMPORTANT !!!
DynamicFormModelhas been completely removed --> use a simpleArray<DynamicFormControlModel>instead - !!! IMPORTANT !!!
findById()function ofDynamicFormModelhas been moved toDynamicFormService
DynamicCheckboxModelnow working correctly again inui-primeng
DynamicFormControlModelrenamed toDynamicFormValueControlModelDynamicFormAbstractControlModelrenamed toDynamicFormControlModel
- Nested form groups are now supported (closes #57)
- Type safety for
DynamicFormControlModelconiguration objects added
Please checkout updated README and examples!
- !!! IMPORTANT !!!
itemsproperty ofDynamicFormControlModelandDynamicCheckboxGrouphas been renamed togroup - !!! IMPORTANT !!!
DynamicFormService.createFormGroupnow expectsArray<DynamicFormControlModel<any>>instead ofDynamicFormModel - !!! IMPORTANT !!!
@Input()formofDynamicFormControlComponenthas been renamed tocontrolGroup - !!! IMPORTANT !!!
idproperty binding ofDynamicFormControlModelhas been removed
- FormArrays are now fully supported (closes #53)
requiredproperty ofDynamicFormControlModelis now bound via[required]and does not manually applyValidators.requiredunder the hood any morereadonlyproperty ofDynamicInputControlModelrenamed toreadOnly
- boolean
spellCheckproperty added toDynamicInputControlModel
- default value for
autocompleteproperty ofDynamicFormControlModelis nowoninstead ofoff textproperty ofDynamicFormOptionrenamed tolabel
DynamicCheckboxGroupnow working correctly inui-material
- Webpack bundling now supported (closes #47)
DynamicFormAutoFillServiceadded for importing and validating new HTML5 autofill detail tokensui-primenghas arrived
maxlengthattribute is now bound correctly (closes #43)- labels of
DynamicCheckboxGroupitems do render now inui-basic(closes #44) nameattribute now added to<fieldset>(closes #45)disabledattribute now added to all form controls
clsconfiguration object has now nestedelementconfiguration object to set css classes for certain elements (see example)nameproperty ofDynamicFormControlModelcannot be set anymore by configuration (automatically mapped toid)DynamicFormControlComponentnow throws when being bound to non-supported type ofDynamicFormControlModel
ui-materialfinally working again after upgrading to new Angular 2 Material alpha.6 (closes #29)valueofDynamicCheckboxModelis now always initizialized withfalseinstead ofnullwhen not explicitly set totrue
- datalists now supported by
DynamicInputControlModel(listproperty)
labelproperty ofDynamicFormControlModelis now just a plainstringinstead of object (hiddenproperty is removed)
DynamicCheckboxGroupModelhas arrived (closes #32)
clsis now a true optional declared constructor parameter- check included for mandatory
idconfiguration property - #37 fixed
ui-foundationhas arrivedclsconfiguration object is now a separate constructor parameter (the second) ofDynamicFormControlModelin order to uncouple pure model configuration from style configurationclsbugs in template files fixedreadonlyproperty introduced forDynamicFormInputModel
- Upgraded to RC.3
clsproperty ofDynamicFormControlModelrefactored 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
orderproperty removed fromDynamicFormControlModelDynamicRadioModelrenamed toDynamicRadioGroupModelmodelproperty ofDynamicFormModelrenamed toitems
- Major improvements and bug fixes for ui-bootstrap template
- Major improvements for example app
textproperty removed fromDynamicCheckboxModeldue to redundancy (usetextproperty oflabelobject instead)
DynamicTextInputModelandDynamicNumberInputModelcondensed toDynamicInputModelonBlurandonFocusevent listeners added for input and textarea controls in ui-basic and ui-bootstrapmax,min, `step attributes now working correctly in ui-basic and ui-bootstraplabelis now a configuration object with propertiescls,hiddenandtext- new property
clsintroduced inDynamicFormControlModelfor manually setting CSS classes for controls