As I saw some various input behaviours inside MBS, I made a brutal function called force_value that seems to cover all cases I found (Normal, React and Weird):
It seems more logical to fire the events at the very end, but they are here in the order that works everywhere.
Tested only in Vivaldi (Chromium) but I will test it on other browsers soon.