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
Feat.Req.: API: showInputBox() user input validation and feedback #1381
It would be nice if we could validate user input before they dismiss with "ok", i.e. show the user they write something we won't accept before they dismiss the inputbox.
This could be a red outline around the inputbox if value doesnt pass validation, ideally would have a message shown underneath telling them what we expect.
A regex and (optional?) default message could work for many cases, ideally a custom validator that allows us to accept/reject (with optional message?) on user input change.
Possible duplicate of this, but this even goes a little further I think:
Activity
jrieken commentedon Dec 23, 2015
related to #540.
We could extend the
InputBoxOptionsto allow to provide a validatorjrieken commentedon Jan 5, 2016
this will be handled by #1795