@brightspace-ui/core 2.98.3 → 2.98.4
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.
|
@@ -418,7 +418,7 @@ class InputNumber extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixi
|
|
|
418
418
|
|
|
419
419
|
_getTooltip() {
|
|
420
420
|
if (this.disabled) return null;
|
|
421
|
-
if (this.validationError && this.childErrors.size === 0) {
|
|
421
|
+
if (this.validationError && this.childErrors.size === 0 && !this.noValidate) {
|
|
422
422
|
return html`<d2l-tooltip announced for="${this._inputId}" state="error" align="start">${this.validationError}</d2l-tooltip>`;
|
|
423
423
|
}
|
|
424
424
|
let lang = '';
|
|
@@ -472,7 +472,7 @@ class InputText extends FocusMixin(LabelledMixin(FormElementMixin(SkeletonMixin(
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
let tooltip = nothing;
|
|
475
|
-
if (this.validationError && !this.skeleton) {
|
|
475
|
+
if (this.validationError && !this.skeleton && !this.noValidate) {
|
|
476
476
|
tooltip = html`<d2l-tooltip state="error" align="start">${this.validationError} <span class="d2l-offscreen">${this.description}</span></d2l-tooltip>`;
|
|
477
477
|
}
|
|
478
478
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.98.
|
|
3
|
+
"version": "2.98.4",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|