@skyux/forms 14.3.9 → 14.3.11

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.
@@ -64,7 +64,7 @@ const RESOURCES = {
64
64
  message: '{0} must be at least {1} characters.',
65
65
  },
66
66
  skyux_form_error_phone: {
67
- message: 'Enter a phone number matching the format for the selected country.',
67
+ message: 'Enter a valid phone number for the selected country.',
68
68
  },
69
69
  skyux_form_error_required: { message: '{0} is required.' },
70
70
  skyux_form_error_time: { message: 'Select or enter a valid time.' },
@@ -2479,6 +2479,9 @@ class SkyInputBoxComponent {
2479
2479
  setHostHintText(value) {
2480
2480
  this.hostHintText = value;
2481
2481
  this.#changeRef.markForCheck();
2482
+ if (this.inputRef) {
2483
+ this.#adapterService.updateDescribedBy(this.inputRef, this.hintTextId, this.hintText ?? this.hostHintText);
2484
+ }
2482
2485
  }
2483
2486
  setHintTextScreenReaderOnly(hide) {
2484
2487
  this.hintTextScreenReaderOnly = hide;