mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Fix keyup trigger on masked input (#20454)
This commit is contained in:
@@ -53,10 +53,11 @@ export default class MaskedInputComponent extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
@action handleKeyUp(name, value) {
|
||||
@action handleKeyUp(name, evt) {
|
||||
this.updateSize();
|
||||
if (this.onKeyUp) {
|
||||
this.onKeyUp(name, value);
|
||||
const { value } = evt.target;
|
||||
if (this.args.onKeyUp) {
|
||||
this.args.onKeyUp(name, value);
|
||||
}
|
||||
}
|
||||
@action toggleMask() {
|
||||
|
||||
Reference in New Issue
Block a user