You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to disable submission or revert to initValue the CardSettingsText() ? #178
How to disable submission or revert to initValue the cardsettingstext? When input value is not valid , submission still works. I have a situation when input text should not empty, but after validation the submission still works and as result the inputfield stays empty.
i think, i can do this with extra textfieldcontroller , but would be nice if there would be some inbuilt 'on invalid submit' mechanics. For example the textfield returns to initial value or the submit button is blocked. I added an extra focus request to hold the textfield in edit mode.
Activity
codegrue commentedon Apr 7, 2022
Are you checking for empty string also in your validation?
visign3d commentedon Apr 8, 2022
yes,

visign3d commentedon Apr 8, 2022
i think, i can do this with extra textfieldcontroller , but would be nice if there would be some inbuilt 'on invalid submit' mechanics. For example the textfield returns to initial value or the submit button is blocked. I added an extra focus request to hold the textfield in edit mode.