Skip to content

Gallery: don't show red error messages in Input demo on initial load #7219

Closed

Description

@sethladd

From a review by material eng.

We probably don't want to default show all the red error messages from the fields in the Text Input demo on Gallery.

Those error messages should only appear when a user tries to submit the form. Then we can show any validation errors.

Activity

  1. added
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on Dec 9, 2016
  2. mpcomplete commented on Dec 12, 2016

    @mpcomplete
    Contributor

    Clarification questions:

    • should this apply to forms in general?
    • should we update error messages in real time as the user types? or only update them when the user submits? or start updating them in real time after the first submit?
  3. sethladd commented on Dec 12, 2016

    @sethladd
    ContributorAuthor

    cc @jestelle

    should this apply to forms in general?

    Yes, I think so. Don't show error messages unless the API (or developer) triggers the display of the error messages.

    should we update error messages in real time as the user types?

    This should be up to the developer. Sometimes developers want to show errors when the user "tabs" out of the field, or as the user types, or after submit.

  4. github-actions commented on Sep 5, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions