@limetech/lime-elements 37.49.2 → 37.49.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [37.49.3](https://github.com/Lundalogik/lime-elements/compare/v37.49.2...v37.49.3) (2024-06-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+
7
+ * **input-field:** improve synchronisation with invalid property ([e33141a](https://github.com/Lundalogik/lime-elements/commit/e33141ad1c954cb116897f2359700da8b11217f8))
8
+
1
9
  ## [37.49.2](https://github.com/Lundalogik/lime-elements/compare/v37.49.1...v37.49.2) (2024-06-09)
2
10
 
3
11
 
@@ -124,6 +124,9 @@ const InputField = class {
124
124
  if (this.invalid) {
125
125
  this.mdcTextField.valid = false;
126
126
  }
127
+ else {
128
+ this.mdcTextField.valid = true;
129
+ }
127
130
  this.mapCompletions();
128
131
  window.addEventListener('resize', this.layout, { passive: true });
129
132
  this.limelInputField.addEventListener('focus', this.setFocus);
@@ -566,6 +569,9 @@ const InputField = class {
566
569
  if (this.invalid) {
567
570
  this.mdcTextField.valid = false;
568
571
  }
572
+ else {
573
+ this.mdcTextField.valid = true;
574
+ }
569
575
  this.mdcTextField.disabled = this.disabled || this.readonly;
570
576
  }
571
577
  render() {