All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.0.0-beta.11 (2018-10-01)
5.0.0-beta.10 (2018-09-29)
- allow passing observable for multicheckbox (#1209) (d370959)
- core: deprecated
createControl
method in favor ofprePopulate
(#1210) (86ee2b0)
5.0.0-beta.9 (2018-09-23)
- bootstrap: use ngValue for option with 'null' for placeholder (#1182) (d10a62b), closes #1169
- core: deprecated
lifecycle
option in favor of 'hooks' (#1192) (891532b)
5.0.0-beta.8 (2018-09-12)
- core: pass field props to lifeCycleHooks (#1174) (f944bdb)
- material: avoid define hidden prop in field templateOptions (#1175) (c8a3e37)
5.0.0-beta.7 (2018-09-12)
5.0.0-beta.6 (2018-09-06)
- core: The library is now using Angular 6.1 and Typescript 2.9.2
5.0.0-beta.5 (2018-08-31)
- core: add core extension (9ed88ae)
- core: add FieldForm extension (b87f7fe)
- core: add FieldValidation extension (21312bf)
- core: delegate field lifecycle to its component (fcccc95)
- core: deprecate fieldTransform in favor of custom extension (3d50d96)
- core: pass root field in extension hooks (#1153) (c16c007)
5.0.0-beta.4 (2018-08-27)
- core: move template render into separate field-type (dccf8e2)
5.0.0-beta.3 (2018-08-19)
- core: hide internal component from public interface (1f7404b)
- kendo: use KENDO prefix in config name (#1128) (7b6511a)
- material: add missing id for toggle, slider and datepicker (4569e86)
- core: take account of templateOptions attributes changes (39bd41c), closes #1132
- ionic: extended v4 support (952bca6)
5.0.0-beta.2 (2018-08-11)
- fieldArray make key optional + allow passing FormGroup (#1114) (a6650bd)
- take account of defaultValue for NestedForm (#1115) (71ffe69)
- core: allow modify field during build-form (#1118) (ec9606f)
- core: introduce field-expression extension (#1119) (a18c7be)
- core: rename Field to FieldType (#1111) (0eebe96)
- core: update extension config (#1120) (5c93f5a)
5.0.0-beta.1 (2018-08-08)
- bootstrap: add customSelect option to select type (#1107) (83e186c), closes #1100
- core: deprecate passing 'model' input to FormlyField (#1093) (0007cf9)
- core: rerender field type on change (#1106) (2f362d1), closes #1091
- ionic: allow customize label position (#1096) (6a0db60), closes #1092
5.0.0-beta.0 (2018-08-05)
To upgrade from 4.0 to 5.0 see UPGRADE-5.0
- core: allow false value for legacy select-option (5e48376)
- core: apply init fields type for fieldArray (1832532)
- core: ensure init fieldArray even if fieldGroup is not set (b815e91)
- core: restore FormlyFormBuilder & FormlyConfig to forRoot module (a3b26ca)
- core: update formcontrol validators when fields change (63d325b), closes #1059
- demo: fixed material autocomplete stackblitz example (33f6994), closes #1062
- material: move multicheckbox into a separate module (fa49c0a)
- add nativescript support (5898186)
- bootstrap: introduce form-field wrapper (d73c382)
- bootstrap: remove bootstrap v3 support (450882d), closes #679
- bootstrap: remove deprecated wrappers (fabb373)
- core: add access to the parent field from children (48a70d7), closes #764
- core: add reset action in FieldArrayType (db30fc3), closes #1076
- core: allow passing nested key in fieldGroup (d90ecb8)
- core: allow passing observable in expressionProperties (258d103), closes #1031
- core: apply disabled status to fieldGroup items (6f503b9), closes #844
- core: initial work for JSON Schema implementation (b2767f4), closes #1056
- core: move formlySelectOptions pipe to core (512caf7)
- core: remove deprecated fieldForm input in FormlyValidationMessage (fe7bda3)
- core: remove lifecycle hooks in FieldType (c431a14)
- core: support attr binding in formlyAttributes (4fa306f), closes #1066
- core: use the new providedIn with better lazyload support (4325e40)
- material: move textarea into a separate module (6bb9e09)
- schematics: add nativescript (91d42df)
- allow passing observable for radio options (10ae8af)
- migrate from ionic-angular to @ionic/angular (0b48dca)
- see UPGRADE-5.0
4.7.2 (2018-08-07)
4.7.1 (2018-08-01)
- core: avoid setting wrapper while init type-config (0371180)
4.7.0 (2018-08-01)
- bootstrap: deprecate all wrappers in favor of
form-field
(03c7e4b) - bootstrap: introduce form-field wrapper (8a276fb)
4.6.6 (2018-07-20)
- core: Revert "perf(core): check expression change only when expression is set"
4.6.5 (2018-07-18)
- core: avoid merging array in reverseDeepMerge (1ab4e11)
- core: init fields options before assignModelToFields (9a322e6)
4.6.4 (2018-07-12)
- core: check expression change only when expression is set (f30ac9a)
4.6.3 (2018-06-28)
- material: ensure focus field elm on container click (b5f195b)
4.6.2 (2018-06-27)
4.6.1 (2018-06-27)
4.6.0 (2018-06-27)
- bootstrap: allow passing function for labelProp and valueProp (9a658a4)
- material: allow passing function for labelProp and valueProp (667ac50), closes #982
- material: support compareWith input for select type (2f17694), closes #982
4.5.0 (2018-06-21)
4.4.6 (2018-06-18)
4.4.5 (2018-06-18)
4.4.4 (2018-06-07)
- core: add schematics (9855ecb)
4.4.3 (2018-06-06)
4.4.2 (2018-06-02)
- material: recalculate the gap size after displaying field (58c3fe8)
4.4.1 (2018-06-01)
4.4.0 (2018-05-30)
- material: update datepicker to support min max (1e7d92c)
4.3.0 (2018-05-25)
- material: move types into separate entry points (32671b7)
4.2.0 (2018-05-21)
- core: add
updateOn
tomodelOptions
(2f9f3a3) - material: allow setting custom appearance and color (69b3ae7)
4.1.0 (2018-05-18)
- add grouped select support when binding observables (0f903c7)
4.0.3 (2018-05-15)
4.0.2 (2018-05-13)
- core: create field component before calling onInit lifecycle (b3923f2)
4.0.1 (2018-05-09)
- core: keep Observable value in clone (bcb4bb4)
4.0.0 (2018-05-06)
- add angular & rxjs 6.0 support (00587d0)
3.1.0 (2018-05-06)
- core: ensure using a valid formcontrol in FieldArrayType:add (90d7cf7)
3.0.3 (2018-05-04)
- core: move building pre/post wrapper into FormBuilder (#938) (711e418), closes #925
- material: avoid using deprecated align input for checkbox (#937) (6ab6109)
3.0.2 (2018-05-03)
3.0.1 (2018-05-02)
3.0.0 (2018-04-28)
- core: deprecate passing 'fieldForm' in formly-validation-message (bfd014e)
3.0.0-alpha.2 (2018-04-26)
- core: allow access to the model from the field (b5034f2)
- core: move createControl FieldArrayType to core (883a63c), closes #909
- core: createControl in FieldArrayType has been removed
3.0.0-alpha.1 (2018-04-23)
- material: use default entryFile (9032911)
- core: remove deprecated 'field.' path in
expressionProperties
(b23e546) - core: remove passing formControl for formlyAttributes events (4d4f894)
- material: remove deprecated floatPlaceholder (3a57aca)
- material: remove deprecated focusMonitor method (8c09639)
-
core: Passing
formControl
as a second argument for (focus, blur, keyup, keydown, click, change, keypress) events is removed rely onfield.formControl
instead.Before:
keypress: (field, formControl) => { console.log(formControl.value); },
After:
keypress: (field, event) => { console.log(field.formControl.value); },
-
core: Using
field.prop
path inexpressionProperties
is removed, useprop
instead.Before:
expressionProperties = { 'field.className': ... }
After:
expressionProperties = { 'className': ... }
-
material: FormlyWrapperFormField::focusMonitor is removed
-
material: the deprecated
floatPlaceholder
option is replaced byfloatLabel
Before:
templateOptions: { floatPlaceholder: ... }
After:
templateOptions: { floatLabel: ... }
3.0.0-alpha.0 (2018-04-21)
- core: move managing lifeCycle hooks to
formly-field
component (#872) (40a6e6c), closes #643 - core: remove
formControl
input in FormlyAttributes (#862) (5c41bdc), closes #642 - core: use rxjs lettable operators. (#857) (a2e79bd)
- ionic: initial work for ui-ionic support (#659) (31d732b)
- initial work for kendo support (#897) (df6551d), closes #599
- initial work for primeng support (#887) (40ca63f)
- material: add auto-Complete type example (273447b), closes #615
- material: add slider type (70019ca)
- material: add toggle type (7a39efc)
- material: implement DatePicker type (#873) (b5b5c18), closes #614
- core:
formControl
has been removed in[formlyAttributes]
directive. - core: droped Angular 4 support + rxjs version should >= 5.5.8
2.1.1 (2018-04-21)
2.1.0 (2018-04-21)
2.0.1 (2018-04-18)
2.0.0 (2018-04-15)
To upgrade from ng-formly to @ngx-formly/core see UPGRADE-2.0
2.0.0-rc.55 (2018-04-11)
- bootstrap: apply border radius for input when using addons (#882) (cc3b168), closes #656
- core: take account of hidden fields when reseting model. (#883) (2eeae7a), closes #881
- core: use
Field
insteadFormlyFieldConfig
in showError (#878) (f84252e), closes #877
2.0.0-rc.54 (2018-04-07)
-
Passing
formControl
as a second argument for (focus, blur, keyup, keydown, click, change, keypress) events is deprecated and it will be removed in the 3.0 version, usefield.formControl
instead.Before:
keypress: (field, formControl) => { console.log(formControl.value); },
After:
keypress: (field) => { console.log(field.formControl.value); },
-
Using
field.prop
path inexpressionProperties
is deprecated, useprop
instead.Before:
expressionProperties = { 'field.className': ... }
After:
expressionProperties = { 'className': ... }
2.0.0-rc.53 (2018-04-06)
2.0.0-rc.52 (2018-04-06)
- core: allow passing the index and the initial model for FieldArrayType::add method. (#869) (93f5eab), closes #866
2.0.0-rc.51 (2018-04-04)
2.0.0-rc.50 (2018-03-30)
- core: remove hide field to force re-evalute it in FormlyFormExpression. (#852) (333af5f)
- core: toggle disabled state when disabled property is changed. (442701d), closes #851
2.0.0-rc.49 (2018-03-27)
2.0.0-rc.48 (2018-03-27)
- core: Added ng-content to formly-group. Updated Examples to inline remove button of repeating section (#840) (2a19867)
- docs: add validation + expression-properties section. (#836) (3f5fff0)
2.0.0-rc.47 (2018-03-25)
2.0.0-rc.46 (2018-03-23)
2.0.0-rc.45 (2018-03-22)
2.0.0-rc.44 (2018-03-21)
2.0.0-rc.43 (2018-03-17)
- core: check field expression only in root component. (#811) (495eb9b)
- core: do not emit
modelChange
on model-input change. (20cc4b9)
2.0.0-rc.42 (2018-03-16)
2.0.0-rc.41 (2018-03-14)
2.0.0-rc.40 (2018-03-13)
- core:
addFormControl
apply patchValue only for FormControl instance. (#799) (dde0c14) - core: call the
parentForm.reset
only if it match the current form. (#798) (222c3a0), closes #796 - core: use patch method instead of reset when model change. (#797) (ed6e7ba), closes #794
2.0.0-rc.39 (2018-03-12)
2.0.0-rc.38 (2018-03-11)
- core: change
submitted
state on resetForm. (#786) (426ce5b), closes #785 - core: take account of model changes for an existent field form. (#784) (35fe7c5), closes #782
- core: take account of model changes when fields is already builded. (#787) (73b85b4)
2.0.0-rc.37 (2018-03-09)
2.0.0-rc.36 (2018-03-08)
- core: ensure options is initialized during build. (#779) (f7147e0), closes #774
- core: reset model on each change (#770) (cd78b60)
2.0.0-rc.35 (2018-03-02)
2.0.0-rc.34 (2018-02-28)
2.0.0-rc.33 (2018-02-28)
- bootstrap: show error message when asyncValidators is set. (#759) (cb5e980), closes #757
- demo: take account of model changes in example-viewer. (#755) (15b4c48), closes #754
2.0.0-rc.32 (2018-02-24)
- core: rely on
__build__
to check expression instead of parentFormlyForm. (#751) (886dad9), closes #745 - core: reset FormArray when resetting model. (#750) (e37ae81), closes #648
- core: introduce FieldArrayType to simplify managing repeating fields. (#749) (90dd1da)
- formly-form: allow passing FormArray in form input. (#748) (76938a8)
2.0.0-rc.31 (2018-02-22)
- core: only read attributes property if templateOptions are set (#744) (0843b11)
- FormlyFormExpression: ensure ParentFormControl is set when for check field visibility. (#743) (d8d7b27)
2.0.0-rc.30 (2018-02-21)
- bootstrap: avoid displaying blank field in select. (#742) (c2c23ef), closes #739
- core: ignore built-in validations only when passing false value. (#740) (f29538a), closes #729
- bootstrap, material: allow removing the required asterisk symbol. (#741) (0060633), closes #738
- core: allow rendering extra attributes (#736) (59b0034)
2.0.0-rc.29 (2018-02-20)
- bootstrap: don't render label when the templateOption is not set (#734) (8f30bb2)
- FormlyFormExpression: ensure toggling formControl when key contains array syntax (#735) (58f25b7)
2.0.0-rc.28 (2018-02-19)
- bootstrap: ensure emitting an int value for number input type. (#730) (8a30092), closes #729
- core: ensure emitting modelChange for nested field groups. (#728) (21c3e2a)
2.0.0-rc.27 (2018-02-18)
2.0.0-rc.26 (2018-02-17)
2.0.0-rc.25 (2018-02-15)
2.0.0-rc.24 (2018-02-15)
- material: allow using matPrefix/matSuffix within form-field wrapper. (#719) (97f4557), closes #715
- material: simplify creation custom field type. (#718) (1f25587)
2.0.0-rc.23 (2018-02-12)
2.0.0-rc.22 (2018-02-12)
2.0.0-rc.21 (2018-02-10)
2.0.0-rc.20 (2018-02-09)
2.0.0-rc.19 (2018-02-08)
2.0.0-rc.18 (2018-02-07)
2.0.0-rc.17 (2018-01-26)
2.0.0-rc.16 (2018-01-25)
2.0.0-rc.15 (2018-01-24)
- bootstrap,material: ensure using the model value for indeterminate state check. (#675) (2b82345), closes #674
2.0.0-rc.14 (2018-01-22)
2.0.0-rc.13 (2018-01-16)
- bootstrap, material: add default value for select options. (#655) (e9819ec)
- core: take account of model changes in wrappers and types. (#664) (e17cead), closes #658
- bootstrap: add missing addons style. (#657) (25fdbf7), closes #656
2.0.0-rc.12 (2018-01-14)
2.0.0-rc.11 (2018-01-13)
- core: ensure key is set when toggle
hide
. (#650) (e69ea08) - core: wrap hideExpression for field in fieldGroup. (#647) (b949ced)
- material: ensure calls to change event. (#651) (a2d52a8), closes #390
2.0.0-rc.10 (2018-01-11)
2.0.0-rc.9 (2018-01-09)
2.0.0-rc.8 (2018-01-05)
2.0.0-rc.7 (2018-01-05)
- core: avoid calling deepMerge for readonly property. (#626) (6b7987f)
- material: ensure calls to lifecycle hooks (#628) (09a7149)
- material,bootstrap: Add asterisk for checkbox. (#624) (f8ed354), closes #623
2.0.0-rc.6 (2017-12-31)
2.0.0-rc.5 (2017-12-28)
2.0.0-rc.4 (2017-12-26)
- bootstrap,material: ensure ids is unique for radio and checkbox types. (#608) (d47d7d1), closes #607
- select: ensure selectOption is updated when using expression. (#612) (bb84077)
2.0.0-rc.3 (2017-12-19)
2.0.0-rc.2 (2017-12-14)
- core: assign correctly model value in field expression during build. (#596) (77d62ae)
- core: ensure nested form group is created for nested key. (#597) (3213f98)
- core: mark form unsubmitted on reset form. (#591) (082de94)
2.0.0-rc.1 (2017-12-08)
2.0.0-rc.0 (2017-12-07)
- core: remove usage of setTimeout. (#586) (c3de20c)
- core: take account of model changes when using hideExpression. (#581) (672679e), closes #580
- hideExpression: use getFieldModel only for simple field (#588) (9a5eeac)
- demo: add copy to clipboard to example-viewer. (#585) (a307a7c)
- demo: add preview code + more examples. (#583) (6a86dd4)
- material: use stable version
5.0.0
(#587) (023386d)
2.0.0-beta.8 (2017-11-28)
2.0.0-beta.7 (2017-11-27)
2.0.0-beta.6 (2017-11-21)
2.0.0-beta.5 (2017-11-19)
2.0.0-beta.4 (2017-11-13)
- #420: allow reset wrappers (#557) (c870baa)
- demo: ensure demo is build without error. (#564) (b21c0e2)
2.0.0-beta.3 (2017-11-07)
- #551: ensure templateOptions is defined (#553) (48f4a36)
- #551: fixed assign object to string for
assignModelValue
(#552) (7b37c56)
2.0.0-beta.2 (2017-11-07)
- field: allow passing function for field expression. (#548) (5e630fe)
- material2: update to 5.0.0-rc0 (#550) (10baf1e)
2.0.0-beta.1 (2017-11-03)
2.0.0-beta.0 (2017-11-01)
- replace deprecated OpaqueToken with InjectionToken (#508) (fbf1dc3)
- #514: avoid suppress and/or force validation messages. (#524) (1ffe899)
- field: use showError instead of valid. (2ba78a3)
- #536: use standard-version for CHANGELOG generation (#538) (9061311)
- bootstrap: support Bootstrap 4 Beta (#529) (2b70567)
- core: rename package to
@ngx-formly
+ follow Angular Package Format. (#497) (2197a51) - demo: use angular-cli for demo-example (#542) (b8d6483)
- field: remove deprecated
valid
prop. (#537) (88a9652) - fieldChanges: remove FormlyPubSub in favor of fieldChanges option. (#525) (e78916f)
- label: append with an asterisk when required (#523) (bad3ecb)
- material: initial work for ui-material (#534) (11b8f9b)
- remove deprecated options. (#507) (6c46667)
- replace deprecated
Renderer
byRenderer2
(#498) (0754b26) - use
ng-template
for dynamic components (#499) (9203f1e) - npm: add publish script (#510) (0788a51)
- npm: allow angular v5. (#520) (1c6fb06)
- npm: update packages. (#522) (ecf5e0f)
- validation-message: move FormlyValidationMessages into FormlyConfig (#526) (9b2e39f)
- field:
Field::valid
is no longer available, useshowError
instead. - validation-message: removed FormlyValidationMessages
- fieldChanges: removed FormlyPubSub.