Skip to content

Feat.Req.: API: showInputBox() user input validation and feedback #1381

Closed

Description

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:

#426

Activity

  1. added
    feature-request
    on Dec 16, 2015
  2. jrieken commented on Dec 23, 2015

    @jrieken
    Contributor

    related to #540.

    We could extend the InputBoxOptions to allow to provide a validator

  3. jrieken commented on Jan 5, 2016

    @jrieken
    Contributor

    this will be handled by #1795

  4. removed
    feature-request
    on Jan 6, 2016
  5. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions