lightning-base-components 1.19.5-alpha → 1.19.6-alpha
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/package.json
CHANGED
|
@@ -1678,6 +1678,9 @@ export default class LightningInput extends LightningElement {
|
|
|
1678
1678
|
handleBlur(event) {
|
|
1679
1679
|
this.interactingState.leave();
|
|
1680
1680
|
|
|
1681
|
+
if (this._rendered && this.isTypeNumber) {
|
|
1682
|
+
this._setInputValue(this._displayedValue);
|
|
1683
|
+
}
|
|
1681
1684
|
if (
|
|
1682
1685
|
!event.relatedTarget ||
|
|
1683
1686
|
!this.template.contains(event.relatedTarget)
|
|
@@ -293,9 +293,8 @@ export default class LightningPrimitiveInputSimple extends LightningElement {
|
|
|
293
293
|
|
|
294
294
|
handleBlur(event) {
|
|
295
295
|
event.stopPropagation();
|
|
296
|
-
if (this.
|
|
296
|
+
if (this.validity.valid) {
|
|
297
297
|
this._showRawNumber = false;
|
|
298
|
-
this.setInputValue(this.displayedValue);
|
|
299
298
|
}
|
|
300
299
|
this.dispatchEvent(new CustomEvent('blur'));
|
|
301
300
|
}
|