Page MenuHomePhabricator

Lookup: include a demo for non-valid entry
Closed, DeclinedPublic

Description

Background

We found solutions for non-valid entries in Lookup in T362650. We decided that if no item from the Lookup's menu is selected and a text typed in the input is entered, a warning Inline Message will automatically appear, alerting the user that no result was selected from the menu. Once the field validation is completed, the warning will turn into an error.

image.png (1×7 px, 457 KB)

We updated the Lookup guidelines to represent this. This task is to include a demo in the Lookup component with this use case. We could create a demo with the following:

  1. A Field with a Lookup where the user needs to type a non-valid entry
  2. The warning message is displayed once the user entries that non-valid text
  3. There is a "Submit" button below the Field to validate it. Once the user selects this button, the warning message turns error.

Acceptance criteria (or Done)

  • Create a demo to represent the non-valid entry