mirror of
https://github.com/dzeiocom/FormManager.git
synced 2025-04-23 11:22:11 +00:00
Envoie d'un event change sur les input
Signed-off-by: Florian Bouillon <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
c8d71bb516
commit
a2edf678e6
@ -242,6 +242,9 @@ export default class FormManager {
|
||||
}
|
||||
const input = this.inputs[name]
|
||||
input.setValue(value)
|
||||
event = document.createEvent("HTMLEvents");
|
||||
event.initEvent("change", true, true);
|
||||
input.element.dispatchEvent(event);
|
||||
return this
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user