FormLabel
Label describes the field in a short and concise way. Depending on the input type, it appears before or after it.
FormLabelBosons
Text
Text in label.
type:
string
For
Id of relation with input.
type:
string
Optional
Additional text for label.
type:
string
Pointer
Is cursor should be pointer.
type:
bool
default:
false
Examples
Standard label
1// Standard label
2
3@atoms.FormLabel(&atoms.FormLabelBosons{
4 Text: "Email:",
5 For: "email",
6})
Label width description and pointer cursor
1// Standard label
2
3@atoms.FormLabel(&atoms.FormLabelBosons{
4 Text: "Email",
5 For: "email",
6 Optional: "(Additional optional description for label)",
7 Pointer: true,
8})