mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #5003 - InputNumber: highlight on focus don't work on multiple inputs with the same value
This commit is contained in:
parent
cd50bf1ccc
commit
66b9785264
1 changed files with 4 additions and 0 deletions
|
@ -956,6 +956,10 @@ export default {
|
|||
input.value = this.formatValue(newValue);
|
||||
input.setAttribute('aria-valuenow', newValue);
|
||||
this.updateModel(event, newValue);
|
||||
|
||||
if (!this.disabled && !this.readonly && this.highlightOnFocus) {
|
||||
DomHandler.clearSelection();
|
||||
}
|
||||
},
|
||||
clearTimer() {
|
||||
if (this.timer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue