oasys-lib 2.26.0-rc.2 → 2.26.0-rc.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/fesm2022/oasys-lib.mjs
CHANGED
|
@@ -1665,8 +1665,10 @@ class TextInputComponent {
|
|
|
1665
1665
|
}
|
|
1666
1666
|
getAriaDescribedBy() {
|
|
1667
1667
|
const describedBy = [];
|
|
1668
|
-
|
|
1669
|
-
|
|
1668
|
+
if (this.inputDidChange()) {
|
|
1669
|
+
// Add error if it exists
|
|
1670
|
+
describedBy.push('error_' + this.id());
|
|
1671
|
+
}
|
|
1670
1672
|
// Add hint if it exists
|
|
1671
1673
|
if (this.hint()) {
|
|
1672
1674
|
describedBy.push('hint_' + this.id());
|