Add a form field component for the redesign

The label moves into the border on focus and after being filled. A valid color
is applied to the label and input border. Other states like invalid can be added
later as needed.

Adapted from @ara4n's experiment into a React component with a CSS only
approach.
This commit is contained in:
J. Ryan Stinnett
2019-01-19 22:13:53 -06:00
parent 7c9509ceb8
commit efd5405267
5 changed files with 137 additions and 2 deletions
+1
View File
@@ -59,6 +59,7 @@
@import "./views/elements/_DirectorySearchBox.scss";
@import "./views/elements/_Dropdown.scss";
@import "./views/elements/_EditableItemList.scss";
@import "./views/elements/_Field.scss";
@import "./views/elements/_ImageView.scss";
@import "./views/elements/_InlineSpinner.scss";
@import "./views/elements/_MemberEventListSummary.scss";