Lundalogik / lime-elements

Provides reusable web components for Lime CRM
https://lundalogik.github.io/lime-elements/versions/latest
Other
38 stars 12 forks source link

fix(input-field): revert synchronisation with invalid property #3027

Closed vicgeralds closed 3 weeks ago

vicgeralds commented 3 weeks ago

This reverts commit e33141ad1c954cb116897f2359700da8b11217f8.

When rendering an input field with invalid unset or set to false, we would set this.mdcTextField.valid = true and ignore the native validation state, but might still render an error icon.

For example, it might look like this:

image

Review:

Browsers tested:

(Check any that applies, it's ok to leave boxes unchecked if testing something didn't seem relevant.)

Windows:

Linux:

macOS:

Mobile:

github-actions[bot] commented 3 weeks ago

Documentation has been published to https://lundalogik.github.io/lime-elements/versions/PR-3027/

lime-opensource commented 3 weeks ago

:tada: This PR is included in version 37.50.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: