- π΅πPhilippines abhaypai
Jumped in this issue from Bus Smash Initiative
Still replicating in D11.
Can we add a new js file naming
checkbixunsaved.js
, which will detect that if checkboxes are updated in a page or not ?
With this approach i believe we can detect and show consistent behaviour at least for this page.Behavior can be defined as:
- Observe if checkboxes are available in a page.
- Keep the statuses in cached array as per element id, only on status change by user
- Add or remove it from array, based on changes made by user
- And then we can show message based on above user behavior