Repository navigation
material-v0.3.17
·
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
requiredandminLength) 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. Everymat-form-fieldin the catalog (Input,Textarea,Select,DatePicker) now usessubscriptSizing="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