Reactive field and afterStateUpdated is not update in realtime on Forms\Components\TextInput\Mask
I'm currently create a dependent field using reactive() and afterStateUpdate to update the other field's value in money format. It's working normally on basic TextInput in realtime of course, but it become passive when I using the TextInput\Mask. Is there any way to make the mask update in realtime just like the TextInput?
1st video is TextInput, 2nd video is using TextInput\Mask.
Here is the code snippet.
4 Replies
masks dont work with reactive inputs, sorry
i would not use it, instead try
numeric()->prefix('Rp')
or something simpleOh that's good idea. Using the TextInput instead of Mask, right?
yeah
Thanks a lot, Dan!