Mobs
[SOLVED] Textfield patterns (input masks)
Hello, I am working on something where I want to no allow the user to delete a certain part of text in an input.
I have something like this, but the input's display value does not get updated if the pattern fails to match. What I want to achieve is if the user tries to delete the area of text that is not supposed to be touched we don't update state and the same should be reflected in the UI.
23 replies
Testing state update after api call`
Hello I am trying to test a
register user
component and I want to show an error message if I get an error from the rest api.
Getting the element fails even after state is updated.
This is to submit the user register form
Where its supposed to show:
Test:
This works as expected when tested manually.2 replies