Skip to content

material-v0.3.17

Choose a tag to compare

@github-actions github-actions released this 27 Oct 16:21
· 25 commits to main since this release

Two fixes for validation messages on form fields.

  • Stacked messages no longer overlap the next field. A field with two failing checks (say required and minLength) printed both messages in Material's one-line subscript, so the second ran over the field below it; a single message that wrapped on a narrow screen did the same. Every mat-form-field in the catalog (Input, Textarea, Select, DatePicker) now uses subscriptSizing="dynamic", so the subscript grows to fit. All failing checks are still shown. Fields without a message no longer reserve an empty line under them, so forms sit slightly tighter.
  • Two checks with the same message both render. Messages are tracked by position instead of by text, so two failing checks that share a message no longer collide (Angular's NG0955 in dev mode). Thanks to @vns-agm for #18.

Requires ngx-json-render@^0.8.0 || ^0.9.0, unchanged from 0.3.16.

Full Changelog: material-v0.3.16...material-v0.3.17