Inside the add function
thisApp.update();
Unable to add and configure dirty validation in riot js starting with version 2.2.2 beta.
You do not need to call update()at execution
- external script
- event functions executed using html riot js template expressions
... because riot js automatically calls update()after doing these actions.
source
share