Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Define form input status #736

Closed
joseegm opened this issue Jun 19, 2017 · 2 comments
Closed

Define form input status #736

joseegm opened this issue Jun 19, 2017 · 2 comments
Assignees
Milestone

Comments

@joseegm
Copy link
Contributor

joseegm commented Jun 19, 2017

goal: Define all status that can be used on a form input field.

Currently on v1.5.x we have
https://techne.yaas.io/components/Form-Elements.html
https://techne.yaas.io/components/Help-and-Validation.html

  • Normal: input field untouched, with or without placeholder.
  • Focused: signal when the input field have the focus.
  • Invalid: signal when the input field entered information is not valid, in error or is empty on a mandatory field.
  • Disabled: the input is displayed and cannot be used.
@joseegm joseegm added this to the KW 25 milestone Jun 19, 2017
@joseegm joseegm self-assigned this Jun 19, 2017
@joseegm joseegm changed the title Define form input different status Define form input status Jun 19, 2017
This was referenced Jun 19, 2017
@joseegm joseegm added the review label Jun 19, 2017
@joseegm
Copy link
Contributor Author

joseegm commented Jun 20, 2017

Form inputs field Status

Status Usage Description
Normal The default status can have a place holder that will be displayed in lighter color than the usual text
Focused Activated when the user move the focus to that input highlight with a contrasting visual effect; a different coloured border
Invalid Display when the entered information is not correct, empty or is invalid highlight in an negative color; red for example
Valid Not always used. Display when the entered information is valid highlight with an positive color; green for example
Mandatory The field have validation and the status can be mutated to Invalid or Valid The usual way to signal the user a field is mandatory, per convention, is to display an * along with the label. Also the Mandatory input fields can have more contrast than the Normal input fields

@joseegm
Copy link
Contributor Author

joseegm commented Jun 30, 2017

Visuals

27699293-63e0ab56-5cbf-11e7-98ab-c0aa8fb3549a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant