Text Input
Component
Text Input
component is an input field for capturing a short text input from
user. Bissetii did a number of researches on its own and decided to only provide
styling for proper HTML5 semantic syntax defined by w3.org.
This component is available starting from v1.12.1
.
Hugo
All Text Input
Hugo interface is directly supported by
Form Component.
Go
All Text Input
Go interface is directly supported by
Form Component.
HTML
Expanding from Form Component, Text Input
component is to facilitate an input
for entering a short text.
To ensure the accepted text is complying to your specific pattern, use a regular
expression pattern for pattern=
attribute. Most browsers will perform native
validation and Bissetii styles each of its state seamlessly.
Example, for alphanumeric with space pattern:
- 8 characters minimum:
([A-z0-9À-ž\s]){8,}
- 16 characters maximum:
([A-z0-9À-ž\s]){,16}
- 8 minimum and 16 maximum:
([A-z0-9À-ž\s]){8,16}
Another example, for alphanumeric and symbol pattern (e.g. use in password) with minimum 8 and 16 maximum characters, 1 lowercase a-Z, 1 uppercase A-Z, 1 number, and 1 symbol:
|
|
An all compatible attributes HTML syntax is shown as follows:
|
|
Here is an example:
CSS
All Text Input
CSS variables is directly supported by
Form Component.
Javascript
All Text Input
Javascript is directly supported by
Form Component.
Sass
All Text Input
Sass is directly supported by
Form Component.
Researches
Here are the researches done to ensure Text Input
component meets
the necessary quality assurances:
SCHEDULED COMING SOON
Epilogue
That’s all about Text Input
component in Bissetii. If you need more
feature or need to report a bug, please feel free to file an issue at our
Issue Section.