ngx-formly

đź“ť JSON powered / Dynamic forms for Angular

MIT License

Downloads
694.6K
Stars
2.8K
Committers
94

Bot releases are visible (Hide)

ngx-formly - v5.8.0

Published by aitboudad over 4 years ago

Bug Fixes

  • 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

Features

  • 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
ngx-formly - v5.7.2

Published by aitboudad over 4 years ago

Bug Fixes

  • 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
ngx-formly - v5.7.0

Published by aitboudad over 4 years ago

Highlights

  • Observable for validation message (Example)
    The validation message can return an observable value which is useful for an i18n app where the messages are loaded asynchronously.

  • Simplify passing extra parameters to validation (Example)

    validation: [
      { name: 'date-future', options: { days: 5 } }
    ]
    
  • Allow onInit/afterView/afterContent to return observables (Example)

    {
      hooks: {
        onInit: (field) => {
          // subscription and unsubscribe is handled by formly
          return field.formControl.valueChanges
            .pipe(tap(value => console.warn(value))),
          ;
        }
      }
    }
    
  • Take account of defined validators in a fieldGroup with empty key (Example)

Bug Fixes

  • schematics: rely sourceRoot to get the project path (#2292) (46885e9), closes #2291

Features

  • 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
ngx-formly - v5.7.1

Published by aitboudad over 4 years ago

Bug Fixes

ngx-formly - v5.6.2

Published by aitboudad over 4 years ago

Bug Fixes

  • material: take account of disabled state for multicheckbox type (#2225) (741df7a)
  • material: take account of radio button focus on page load (#2249) (35602e5)
ngx-formly - v5.6.1

Published by aitboudad over 4 years ago

Bug Fixes

  • core: resubscribe to expr prop when re-rendering the field (#2216) (1269f57)
  • ionic: allow async options for ion-select (#2202) (7a3247d)
  • material: make sure required attribute is present in mat types (#2213) (89ea2ac)
ngx-formly - v5.6.0

Published by aitboudad over 4 years ago

Bug Fixes

  • core: ensure field is not empty when calling hooks (#2198) (7019161), closes #1864
  • core: fix OnPush FieldTypes not being change detected (#2192) (3234118), closes #2191
  • 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)

Features

  • 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)
ngx-formly - v5.5.15

Published by aitboudad over 4 years ago

Bug Fixes

  • 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
ngx-formly - v5.5.14

Published by aitboudad over 4 years ago

Bug Fixes

ngx-formly - v5.5.13

Published by aitboudad over 4 years ago

Bug Fixes

  • core: emit statusChanges on updateValueAndValidity (#2107) (7deac1a), closes #2106
  • material: handle undefined color palette for checkbox (#2109) (8998b61), closes #2101
ngx-formly - v5.5.12

Published by aitboudad over 4 years ago

Bug Fixes

  • 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

Performance Improvements

  • core: reduce form _updateTreeValidity calls (#2078) (dad2ef6)
ngx-formly - v5.5.11

Published by aitboudad over 4 years ago

Bug Fixes

  • 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

Performance Improvements

  • core: reduce number of created components during the buil… (#2069) (f371aad)
ngx-formly - v5.5.10

Published by aitboudad over 4 years ago

Bug Fixes

  • 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
ngx-formly - v5.5.9

Published by aitboudad almost 5 years ago

Bug Fixes

  • 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)

Performance Improvements

  • bootstrap: improve render time of long list for select ty… (#2023) (cd198f3), closes #2022
ngx-formly - v5.5.8

Published by aitboudad almost 5 years ago

Bug Fixes

  • 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 autoclear 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)

Performance Improvements

  • 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)
ngx-formly - v5.5.7

Published by aitboudad almost 5 years ago

Bug Fixes

  • 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
ngx-formly - v5.5.6

Published by aitboudad almost 5 years ago

Bug Fixes

ngx-formly - v5.5.5

Published by aitboudad almost 5 years ago

Bug Fixes

ngx-formly - v5.5.4

Published by aitboudad almost 5 years ago

Bug Fixes

  • 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
ngx-formly - v5.5.3

Published by aitboudad almost 5 years ago

Bug Fixes

  • 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
Package Rankings
Top 0.81% on Npmjs.org
Top 6.75% on Proxy.golang.org
Badges
Extracted from project README
Npm version Downloads Gitter Build Status Twitter Gitpod ready-to-code
Related Projects