All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.10.11 (2021-01-02)
- core: always run first core extensions (#2647) (4975544), closes #2637
- ionic: apply full width for select floating position (#2645) (9b58116), closes #2635
5.10.10 (2020-12-20)
5.10.9 (2020-12-14)
5.10.8 (2020-12-11)
- core: allow control resetOnHide for a specific field (#2619) (f51a9df), closes #2570
- material: handle checkbox destroy (#2618) (ddb26a7), closes #2602
5.10.7 (2020-12-08)
- core: detect disabled state for CD OnPush components (#2612) (81038e2), closes #2588
- core: take account of parent disable state on init (#2610) (22ff9ca), closes #2598
- material: assign disable state to datepicker-toggle (#2613) (f0284f3), closes #2221
- material: trigger focus/blur event for mat-checkbox (#2611) (81f523f), closes #2602
5.10.6 (2020-10-31)
- core: apply default value on hide changes for nested object (#2578) (b2d4951), closes #2569
- ionic: add v5 to peer dependencies (#2576) (037f13d), closes #2575
- material: ignore disabled option on selectAll (#2577) (8744c11), closes #2568
5.10.5 (2020-10-25)
- core: avoid creation a dummy field for nested key (#2560) (0b9caa4), closes #2547
- core: avoid overriding accessor by property (#2559) (deefd4e), closes #2552
- material: prevent scroll on focus for radio and checkbox (#2562) (fd0ccd2)
5.10.4 (2020-10-17)
- core: assign validator for field with empty key (#2544) (116e454)
- support disable a specific select/radio option (#2543) (6159cb0), closes #2532
5.10.3 (2020-10-03)
- core: clear validation cache on fields input change (#2527) (5ef8c67), closes #2524
- core: supports array notation in expression property (#2526) (485bc32), closes #2525
5.10.2 (2020-09-26)
- core: clear value on hide for array type (#2522) (49b3775), closes #2480
- core: improve expression error message (#2521) (a8fe97d), closes #2492
- core: move eval expression to post populate (#2516) (e1e7598), closes #2515
- core: rely on internal model when model input is empty (#2520) (efe68f9), closes #2493
- core: remove parent check on assign nullable value (#2518) (ab26e3b), closes #2491
- material: delay radio focus on status changes (#2519) (a430b3b), closes #2498
- material: rely on tabIndex input instead of attr (#2517) (110efee), closes #2501
5.10.1 (2020-09-04)
5.10.0 (2020-08-30)
- core: avoid memory leakes for internal componentRefs (#2474) (e3d29e5)
- core: share formControl for array field when key is duplicated (#2422) (8e461f4), closes #2420
- json-schema: avoid rely on default value for select oneOf item (#2431) (1c182bf), closes #2429
- json-schema: avoid reset on hide during the build step (#2426) (07fb1f6), closes #2420
- json-schema: support nested oneOf (#2428) (085f32c), closes #2403
- json-schema: take account of passing float to multipleOf validation (#2441) (f0ba4be), closes #2435
- material: apply a11y for validation messages (#2464) (c35a73b)
- material: remove empty mat-prefix and mat-suffix (#2444) (108fe95), closes #2443
- schematics: update angular-devkit deps (#2413) (6e232e1)
- core: add option to resetFieldOnHide (#2476) (fff80de), closes #1847 #2381 #2439
- core: allow passing observable for expression asyncValidators (#2440) (dbbca7f)
- core: lazily render component field type (#2416) (429b3ec), closes #1215
- core: support form control for field with empty key (#2404) (3b47e0e), closes #2403
- core: support multiple errors from a single validator (#2392) (d12be59), closes #2378
- json-schema: allow passing mixed type in oneOf (#2425) (ce47591), closes #2420
- material: allow disable a single radio button (391257c)
5.9.3 (2020-07-26)
- core: revert change event to host (#2397) (b4d50d9), closes #2390
- json-schema: support oneOf with $ref definition (#2396) (d027020), closes #2394
5.9.2 (2020-07-24)
5.9.1 (2020-07-20)
- core: avoid re-parse nested field key (#2367) (7464955), closes #2344
- core: take account of async validators errorPath (#2377) (62c731c), closes #2373
- json-schema: manage oneOf of duplicated field property (#2376) (66f62f8), closes #2374
- material: add change event for toggle and slider types (#2366) (88c12e7), closes #2353
5.9.0 (2020-07-14)
- core: avoid unnecessary valueChanges on add/remove field array (#2361) (26370ce), closes #2355
- material: rely on checkbox change input instead of formly attr (#2356) (eaa66ed), closes #2353
- material: revert required behavior for checkbox (#2358) (3c08c38), closes #2349
- schematics: include ng-zorro-antd in uiTheme schema.json (ffad0db), closes #2333
- core: allow passing number or array to field key (#2359) (edf7f27), closes #2344
- core: emit expressionChanges event through fieldChanges option (#2357) (5d19b9f), closes #2350
5.8.0 (2020-06-29)
- core: ensure change event is called after the formControl change (#2336) (051480d), closes #2324
- schematics: add ng-zorro-antd to ui-theme option (#2337) (e2274a7), closes #2333
- bootstrap: support checkbox without label (#2339) (989dec0), closes #2313
- core: support attach error to specific field from a validator (#2342) (d8b612d), closes #2332
- ionic: add Names && ShortNames inputs for datetime picker (#2338) (2e74cb3), closes #2331
- material: add monthSelected && yearSelected outputs for datepicker (#2340) (f1f0cc9), closes #2308
5.7.2 (2020-06-20)
- core: allow Observable for
validation.messages
property (#2297) (af6ecf8) - core: provide more details on missing type declaration (#2320) (c98b242), closes #2305
- material: use false for input static query (#2319) (cd53629), closes #2314
5.7.1 (2020-06-03)
5.7.0 (2020-06-01)
- bootstrap: support switch style checkboxes (#2263) (5b1a771), closes #2257
- core: add an alternative way for passing parameters to validation (#2269) (0295bd9), closes #1828
- core: allow nullable value for group type (#2267) (a34d384), closes #2265
- core: allow onInit/afterView/afterContent to return observables (#2242) (f91637e), closes #1986
- core: deprecate doCheck, afterContent and afterView Checked hooks (#2245) (aea28e1)
- core: support passing observable for validation message (#2241) (a53a737), closes #2214
- core: support validations for fieldGroup with empty key (#2271) (ffe7df0), closes #2059 #2255
- ionic: add compareWith input for select type (#2277) (7ef2b8e), closes #2275
- material: add missing mat-datepicker inputs to datepickerOptions (#2274) (4003729), closes #2221
5.6.2 (2020-05-21)
- material: take account of disabled state for multicheckbox type (#2225) (741df7a), closes #2224
- material: take account of radio button focus on page load (#2249) (35602e5), closes #2248
5.6.1 (2020-04-30)
- core: resubscribe to expr prop when re-rendering the field (#2216) (1269f57), closes #2214
- ionic: allow async options for ion-select (#2202) (7a3247d)
- material: make sure required attribute is present in mat types (#2213) (89ea2ac), closes #2212
5.6.0 (2020-04-22)
- core: ensure field is not empty when calling hooks (#2198) (7019161), closes #1864
- core: fix OnPush FieldTypes not being change detected (#2192) (3234118)
- core: support Content-Security-Policy header script-src 's… (#2199) (23edc3e), closes #2157
- json-schema: take acocunt of total matched oneOf props (#2196) (9367216), closes #2195
- schematics: remove comments in collection.json (#2178) (5514f59)
- bootstrap: support custom-inline for radio/checkbox (#2133) (8b46f95), closes #2103
- core: add safeHtml opt to bypass sanitizing template HTML… (#2090) (bbd7009), closes #2039
- core: all Add/Remove field array without triggering form… (#2087) (a96cae6), closes #2044
- ionic: add missing properties to datetime type (#2141) (56705dc)
- material: add dateInput and dateChange options to datepic… (#2132) (666e960), closes #2127
- material: mat-slide-toggle color support (#2186) (3e3b121)
- material: mat-slider thumbLabel support (#2190) (6266881)
5.5.15 (2020-03-17)
- core: allow using FieldArray without a key (#2142) (32a3a9d)
- core: ensure showError option return a boolean value (#2146) (0ed6f9a), closes #2144
- primeng: change class ui-messages-error to ui-message-error (#2136) (1b41aaa), closes #2135
5.5.14 (2020-03-06)
- core: allow passing a custom type when template is null (#2126) (2129892), closes #2121
- core: disabled expression should not overwrites child expr… (#2130) (f779edb), closes #2129 #2128
5.5.13 (2020-02-20)
- core: emit statusChanges on updateValueAndValidity (#2107) (7deac1a), closes #2106
- material: handle undefined color palette for checkbox (#2109) (8998b61), closes #2101
5.5.12 (2020-02-12)
- core: ensure UI is in sync when using custom checkExpressi… (#2097) (80c2f7b), closes #2095
- core: take account of passing observable to model expr (#2096) (4bf1445), closes #2094
- core: take account of the emitted modelChange value as mod… (#2098) (ad99519), closes #2093
5.5.11 (2020-02-03)
- bootstrap: rely on accessor to select empty option (#2047) (890c5aa), closes #2043
- core: avoid using includes for IE compatibility (#2062) (1f9b0ae), closes #2058
- core: create field type instance for each formly-field com… (#2068) (ecc632d), closes #2060 #2065 #2045
- core: detach the rendered field from the destroyed wrapper… (#2073) (cca863e)
- core: detect expression changes on submit (#2046) (9947906), closes #1845
- core: detect observable expression changes when using OnPush CD (#2051) (960ee42), closes #2050
- core: ensure wrapProperty fn is removed after unsubscribe (#2067) (ef77b49), closes #2066
- core: keep order of value subscriptions consistent on rebu… (#2063) (d667122), closes #2061
- core: set id attr to the first formlyAttributes elements only (ed3ea3c)
- core: use id @Input when is set instead of field id (dfda03b), closes #2071
- material: remove textarea autosize attributes when disabled (#2052) (80e7c14), closes #2042
5.5.10 (2020-01-20)
- core: improve detect changes of formly-field host binding (#2033) (47fe101), closes #2031
- material: allow overriding tabindex on mat-radio-group (#2034) (4f397ae), closes #2032
5.5.9 (2020-01-13)
- core: avoid re-use the removed controls of fieldArray (ce02649)
- core: rely on ngZone to detect changes instead of changeDe… (#2027) (2e838a0), closes #2018
- core: take account of custom formControl value changes (#2017) (c8dacb5), closes #2016
- core: update validity of detached field control (503e793)
- json-schema: ensure default value is applied on switch oneOf schema (f04cdde)
5.5.8 (2020-01-06)
- core: avoid touching hidden field control on re-build (#1989) (f982c32), closes #1987
- core: detect changes before emitting
modelChange
(#2001) (73e1651) - core: eval expressions after
reset
is fully processed (#1998) (2f785e0) - core: ignore removed controls on reset (#1997) (0d76f50)
- core: improve handling validation of hidden fields (#2008) (298a152)
- core: reduce the amount of emitted valueChanges event (#1990) (b940a8e), closes #1970
- core: render template type when used in expressionProperti… (#2010) (796547a)
- json-schema: assign default value when the field is shown (#2006) (fb65684), closes #1995
- json-schema: enable autclear for extended schema with oneOf (#2014) (a92c88f)
- json-schema: rely on initialModel to resolve oneOf schema (#2009) (8ce506b)
- material: take account of min/max and step attr for slider type (#2015) (3476948)
- core: reduce the emitted
modelChange
events (#1999) (b7567a1) - core: reduce the registered formlyAttributes event listen… (#1992) (e1ef87e), closes #1991
- core: use OnPush change detection on FormlyValidationMess… (#1996) (70ffd5d)
5.5.7 (2019-12-17)
- bootstrap: add missing compareWith input to the select type (#1978) (14f9964), closes #1974
- core: check expressions before emitting modelChange (#1977) (510570e)
- core: fix max calls error when dealing with sync valueChanges (#1973) (f685d3b)
- ionic: add missing dialog text inputs (#1979) (95b0815), closes #1963
- json-schema: take account of model value on resolve oneOf schema (#1968) (0330789), closes #1957
- material: avoid unnecessary focus when Radio Button is selected (0665700), closes #1969
- material: disable tabindex for MatRadioGroup element (26bea8f), closes #1969
5.5.6 (2019-11-20)
- core: init disabled state to avoid emit change on re-build (#1949) (c2842b9)
- core: move field first render call to onChanges (#1941) (56f1032), closes #1938
- core: propagate disabled state to subfields (#1943) (f0d9695), closes #1528 #1722 #1743
- json-schema: verify templateOptions exists on field (#1948) (29a0b0e)
- material: allow prefix/suffix focus (#1940) (5907dc5), closes #1935
5.5.5 (2019-11-18)
- core: avoid recursive focus/blur calls (#1936) (1ea96f9), closes #1935
- core: check if content is defined (#1925) (a68a719)
- core: propagate disabled state to hidden fields (#1939) (2cc9170), closes #1932
- core: use bind of the cloned object for enumerable getter (#1924) (927151b), closes #1923
- json-schema: allow adjusting field Array before build step (#1919) (3ae0e8a)
- json-schema: handle oneOf when resolving schema deps (#1933) (9ee889e), closes #1928
- material: force static query for FormField wrapper (#1927) (7e7c4ca), closes #1900
5.5.4 (2019-11-10)
- core: emit a valid model when using array notation key in group (#1910) (e4cd721), closes #1857
- core: ignore default debounce when using updateOn blur/submit (#1903) (2d73fb9), closes #1898
- core: include field without key on hide changed programmatically (#1904) (39a9051)
- core: skip detectChanges call on first render (#1905) (24396a3), closes #1900
5.5.3 (2019-11-01)
- core: ensure the first render is called after onInit (#1881) (73f0316)
- core: set static flag to false for ivy support (#1893) (9a63c3e)
- core: toggle control when hide changed programmatically (#1888) (fdb1cbe), closes #1817 #1742
- core: update form validity when changing built-in validations (#1887) (fb8485d), closes #1493
5.5.2 (2019-10-29)
- core: change the check File instance for SSR compatibility (#1865) (7883f1a), closes #1864
- core: clone initialModel during reset model (#1874) (e706cf8), closes #1872
- core: ensure array notation for key emit a valid model (#1859) (0b3ab37), closes #1857
- core: ensure the validation calls occurs only once during build (#1866) (770bea9), closes #1754
- core: support resolving non static fieldComponent query (#1878) (ac7e9a2), closes #1868
- core: toggle controls of the hidden fields before the visible ones (#1875) (d35460e), closes #1700
- ionic: add missing export of ionFormlyAttributes (#1880) (679ee10), closes #1879
- json-schema: use multi-select to handle anyOf schema (eb71a68)
- material: avoid using deprecated underlineRef (#1860) (807218f)
- material: support selectAll in multiselect with group (#1867) (f5625ea), closes #1852
- make FormlyModule ModuleWithProviders generic for ng9 support (#1854) (dbb860d)
5.5.1 (2019-10-15)
- core: add warn when using legacy select option (#1840) (bf2448d)
- core: apply sync value only when key is duplicated (#1837) (4a34464)
- core: merge existing options when replacing a field type (#1838) (177c4f4), closes #1836
5.5.0 (2019-10-09)
- core: fix various errors during SSR (921a451), closes #1821
- core: sync value changes for fields with same key (#1820) (6f7a10a), closes #1358
- kendo: add name attr to radio type (#1807) (10348bf), closes #1805
- core: deprecate passing content inside the 'formly-form' tag (#1826) (0f168f7)
- core: deprecate passing immutable attr to formly-form component (#1827) (61f9391)
- core: mark the form array dirty on Add/Remove (#1824) (92bb6d7), closes #1679
- ionic: allow customize lines (#1809) (94dd5cc), closes #1732
- json-schema: add const validator (#1825) (4607b1c)
- json-schema: add support for adding custom labels to enum (#1802) (a96c8fe)
- json-schema: add support for uniqueItems (#1812) (9164c74)
- json-schema: partial support of anyOf/oneOf keyword (#1811) (d60e0f5)
- json-schema: support multiselect type (#1813) (371723e)
5.4.3 (2019-09-20)
- core: better clone for File and moment.js instance (#1789) (d810035), closes #1788
- core: skip _markForCheck call during init (#1792) (718920a)
- json-schema: set nullable string type to
null
if empty (#1787) (8d4985b)
5.4.2 (2019-09-16)
- core: allow nullable value for array type (#1780) (d8f5f61), closes #1764
- core: avoid checking parent field on eval hide expression (#1749) (087523b), closes #1700
- json-schema: guess nullable and single array type (#1781) (dabf2a6), closes #1777
- json-schema: set valid fieldArray when additionalItems is empty (#1784) (4413193), closes #1777
- material: ensure showing datepicker icon when OnPush enabled (#1767) (6ef3e57), closes #1766
- material: use passed aria-labelledby attr for select type (#1748) (b8f1834), closes #1746
5.4.1 (2019-08-26)
- core: avoid removing the wrong formControl instance on hide (#1741) (9a68aaf), closes #1700
- material: enable static query for formFieldControl (#1740) (512befe)
- material: enable static query for MatFormField (#1733) (038c22d)
5.4.0 (2019-08-19)
- core: better cloning (#1725) (0b71eba), closes #1719
- core: mark formControl as dirty on change event (#1727) (8c29130), closes #1721
- material: disable floating label when select value is empty (#1707) (a462a72)
- material: float textarea label when value is set (#1697) (c6461d4), closes #1688
- material: improve handling focus for custom form-field (#1696) (057eaa9), closes #1691
- core: add support of ivy (#1695) (ce3759d), closes #1693
- core: generate FormControl when
key
is set (#1714) (562cb44), closes #1711 - core: mark define fieldComponent optional for custom wrapper (#1694) (a013fe2)
- json-schema: add support for minItems and maxItems (#1698) (2d6fcd4)
- json-schema: adds allOf support (#1683) (d8e9585)
- json-schema: merge required and base schema on resolve allOf (#1728) (f43ad58)
- json-schema: resolve allOf merge conflits (#1729) (bf108ba)
- json-schema: support null type (#1730) (7d5ac6a)
5.3.0 (2019-07-24)
- core: add warn for missing static flag for @ViewChild (#1673) (b0972a2), closes #1633
- core: avoid assigning defaultValue by reference (#1687) (4ac1fe3), closes #1684
- core: override existing form group instance on re-build (#1680) (8ddffee), closes #1677
- json-schema: handle passing empty value for number type (#1657) (070f558)
- core: allow check expression on model changes only (#1662) (32cde3c), closes #1620
- json-schema: add support for $ref (#1658) (2e52ffa)
- json-schema: add support for dependencies (#1659) (af5d5ac)
- json-schema: add support for exclusiveMinimum & exclusiveMaximum (#1682) (99da1bf)
- json-schema: add support for multipleOf (#1655) (c7601e7)
- json-schema: guess object type (#1656) (912edf7)
- material: add textarea autosize (#1672) (3937eca), closes #1670
5.2.0 (2019-07-08)
- bootstrap: select empty option when value is null (#1652) (50a1138), closes #1625
- core: restore support component-level injectors for types (#1651) (165ac75), closes #1622
- material: avoid handling focus for selected radio option (#1648) (44535ac), closes #1631
- material: remove duplicated change event listener (#1649) (d28f7a8), closes #1644
5.1.9 (2019-06-04)
5.1.8 (2019-05-31)
5.1.7 (2019-05-28)
- core: add missing disabled & required html attribute (#1603) (cbb3f91), closes #1582 #1601
- core: keep formcontrol state on remove fieldArray (#1602) (85433eb)
- core: throw Error when
forRoot
call is missing (#1604) (48d9dae)
5.1.6 (2019-05-24)
5.1.5 (2019-05-20)
5.1.4 (2019-05-13)
5.1.3 (2019-05-07)
5.1.2 (2019-05-06)
5.1.1 (2019-05-03)
5.1.0 (2019-04-28)
- core: add field arg to hideExpression and expressionProperties (#1544) (24998ad), closes #704
- core: deprecate usage of
this.field
in expressionProperties (#1550) (b6172b4) - material: add disableOptionCentering support for mat-select (#1545) (9c655c6)
- material: add select all option to multiselect (#1552) (144f5fa)
- material: adds datepicker toggle positioning support (#1560) (63698b3)
5.0.4 (2019-04-17)
- core: fallback null fields to empty array (#1534) (3608925), closes #1530
- avoid using forRoot for UI (#1537) (72a6b7f), closes #1535
- material: adjust empty value for number/bool type (#1538) (5916765)
- material: take account of formFieldControl changes (#1533) (aa5c645), closes #1029
5.0.3 (2019-04-15)
5.0.2 (2019-04-08)
- material: add errorStateMatcher to autocomplete example (#1517) (4606db9)
- material: add FieldType set value (#1515) (93268e4)
- material: add missing attrs to native-select (#1514) (8200078)
5.0.1 (2019-04-03)
- core: avoid mixin string and number for KeyPath (dffe082)
- core: avoid recursive calls for assignModelValue (63310d2)
- core: avoid using unnecessary rxjs operators (#1499) (cc59fcf)
- core: check date type using instanceof (2d108db)
- core: reduce regex calls for getKeyPath (#1501) (9e78c04)
- core: rely on push instead of spread operaror (4c363b2)
- core: skip fieldParentFormControl call when field has parent (#1500) (f5de20b)
- core: updateValidity only when validators/asyncValidator change (#1504) (57a2087)
- core: use for-of instead of while for getFieldValue (a9841fb)
5.0.0 (2019-03-23)
To upgrade from 4.0 to 5.0 see UPGRADE-5.0
5.0.0-rc.12 (2019-03-17)
5.0.0-rc.11 (2019-03-07)
5.0.0-rc.10 (2019-03-06)
5.0.0-rc.9 (2019-03-03)
5.0.0-rc.8 (2019-02-26)
5.0.0-rc.7 (2019-02-22)
- core: assign a valid value for nested key model (#1438) (1ac2c39), closes #1437
- ionic: user setFocus instead of native focus callback (#1442) (309a9d6), closes #1374
5.0.0-rc.6 (2019-02-21)
5.0.0-rc.5 (2019-02-19)
- core: manage field focus of multi formlyAttributes (#1433) (bcae130), closes #1428
- core: revert #1427 in favor of immutable mode (#1430) (#1431) (54dfcd4)
5.0.0-rc.4 (2019-02-18)
5.0.0-rc.3 (2019-02-15)
- core: display async validation message for OnPush CD (#1419) (344b697), closes #1417
- core: improve managing focus with expressionProperties (#1421) (405d8cc), closes #1413
5.0.0-rc.0 (2019-02-07)
To upgrade from 4.0 to 5.0 see UPGRADE-5.0
5.0.0-beta.24 (2019-02-03)
5.0.0-beta.23 (2019-01-20)
5.0.0-beta.22 (2019-01-17)
- material: add readonly and tabindex to number input (#1383) (8c6fee7)
- material: remove duplicated readonly prop (#1372) (34eccf5)
- bootstrap: add addons to select (#1381) (2479091), closes #1380
- ionic: emit int value for number input type (008a50c)
- kendo: emit int value for number input type (f53eaa5)
- primeng: emit int value for number input type (a088477)
5.0.0-beta.21 (2018-12-28)
5.0.0-beta.20 (2018-12-13)
- core: add FormlyFormBuilder to child module (#1335) (e662ac1), closes #1334
- core: avoid create field component twice (#1340) (50ae25f)
5.0.0-beta.19 (2018-12-06)
5.0.0-beta.18 (2018-12-03)
- core: use Renderer2 instead of HostBinding (7d1cc2c)
- material: warn missing FieldType for a custom field type (031f704)
5.0.0-beta.17 (2018-11-24)
- core: force eval disabled expr as a boolean (#1290) (11dfb5a)
- demo: fixed missing primeng theme (#1289) (bf5a405)
- allow customize required-marker style (#1301) (fa1acad), closes #1298
- core: allow passing defaultOptions through FieldType (#1313) (dea3b49)
- core: improved typing for FieldType (#1312) (b724e2b)
5.0.0-beta.16 (2018-11-13)
- material: fallback to default tabindex value (#1282) (588be37), closes #1281
- material: use readonly input instead of formly-attributes (#1279) (5c1bce7)
- material: add native-select type (#1288) (24bcac1)
- nativescript: add checkbox and textarea types (#1283) (77a5900)
- nativescript: add radio and select types (#1287) (3cfedb8)
5.0.0-beta.15 (2018-11-04)
5.0.0-beta.14 (2018-11-03)
- core: ensure validation error is displayed while enabling onpush CD (#1266) (7984729), closes #1262
- core: ignore clone SafeHtmlImpl value (#1257) (a7c018b), closes #1254
- material: fallback to field.type for custom FieldControlType (#1261) (6a116f7)
- material: set select aria-labelledby to avoid ExpressionCheck Error (#1265) (41fae5c), closes #1251
5.0.0-beta.13 (2018-10-25)
- core: ignore cached expression value during buildForm (#1252) (15995af), closes #1250
- core: take account of deprecated FormlyField inputs changes (#1242) (3f22da8), closes #1241
5.0.0-beta.12 (2018-10-15)
- core: add form alias to the field object (#1226) (053d72f)
- core: allow passing disabled prop for select options (039a693)
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.