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.10.15

Published by aitboudad over 3 years ago

Bug Fixes

  • schematics: restrict angular dependencies (5b18126)
ngx-formly - v5.10.14

Published by aitboudad over 3 years ago

Bug Fixes

ngx-formly - v5.10.13

Published by aitboudad over 3 years ago

Bug Fixes

ngx-formly - v5.10.12

Published by aitboudad over 3 years ago

Bug Fixes

ngx-formly - v5.10.11

Published by aitboudad almost 4 years ago

Bug Fixes

ngx-formly - v5.10.10

Published by aitboudad almost 4 years ago

Bug Fixes

ngx-formly - v5.10.9

Published by aitboudad almost 4 years ago

Reverts

  • core: take account of parent disable state on init (0e0980a), closes #2624
ngx-formly - v5.10.8

Published by aitboudad almost 4 years ago

Bug Fixes

ngx-formly - v5.10.7

Published by aitboudad almost 4 years ago

Bug Fixes

ngx-formly - v5.10.6

Published by aitboudad almost 4 years ago

Bug Fixes

ngx-formly - v5.10.5

Published by aitboudad almost 4 years ago

Bug Fixes

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

Published by aitboudad about 4 years ago

Bug Fixes

  • core: assign validator for field with empty key (#2544) (116e454)
  • support disable a specific select/radio option (#2543) (6159cb0), closes #2532
ngx-formly - v5.10.3

Published by aitboudad about 4 years ago

Bug Fixes

  • core: clear validation cache on fields input change (#2527) (5ef8c67), closes #2524
  • core: supports array notation in expression property (#2526) (485bc32), closes #2525
ngx-formly - v5.10.2

Published by aitboudad about 4 years ago

Bug Fixes

ngx-formly - v5.10.1

Published by aitboudad about 4 years ago

Bug Fixes

  • core: apply defaultValue for array when resetFieldOnHide enabled (#2488) (4049e00)
ngx-formly - v5.10.0

Published by aitboudad about 4 years ago

Highlights

  • lazy render hidden fields: When enabled the components of hidden fields will not be present on the DOM which improves the rendering performance and avoid extra HTTP calls when used with the async pipe.

To enable this feature pass true to lazyRender options:

    FormlyModule.forRoot({
+      extras: {
+        lazyRender: true,
+      },
    }),
  • reset field on hide: By default Formly model contains the value of hidden fields which is not convenient in some cases so we've introduced a new option resetFieldOnHide that detach the hidden field value from the main model.

To enable this feature pass true to resetFieldOnHide options:

    FormlyModule.forRoot({
+      extras: {
+        resetFieldOnHide: true,
+      },
    }),
  • allow passing multiple errors from a single validator: To validate multiple fields with a single validator which is useful in dealing with server-side validation for an entire form section and display distinct error messages for each field.
export function customValidator() {
  ...

  return {
    passwordValidator: {
      errorPath: 'password',
      message: 'Please choose a stronger password!', 
    },
    usernameValidator: {
      errorPath: 'username',
      message: 'This username is already taken!',
    },
  };
}

Bug Fixes

  • core: avoid memory leakes for internal componentRefs (#2474) (e3d29e5), closes #2449
  • 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)

Features

ngx-formly - v5.9.3

Published by aitboudad about 4 years ago

Bug Fixes

ngx-formly - v5.9.2

Published by aitboudad about 4 years ago

Bug Fixes

ngx-formly - v5.9.1

Published by aitboudad over 4 years ago

Bug Fixes

ngx-formly - v5.9.0

Published by aitboudad over 4 years ago

Bug Fixes

  • 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

Features

  • core: allow passing number or array to field key (#2359) (edf7f27), closes #2344
  • core: emit expressionChanges event through fieldChanges option (#2357) (5d19b9f), closes #2350
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