Not really sure if the tittle helps, but the issue that i've encountered is the following:
Let's say that values starts off as the integer 2.
Then, after a request is made to the backend, we set value to 4
The displayed value on the input won't change even though "value" is now 4.
I assume this has something to do with how the component refreshes "maskedValue". Maybe it only changes inside the "onChangeEvent"?
In my case, I was able to find a quick-fix because my "value" starts off as undefined, so I only render the component when "value" is not undefined, but this need to be fixed.