Documentation
¶
Overview ¶
templ: version: v0.3.1001
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Show ¶
func Show(props FormFieldProps) templ.Component
Types ¶
type FormFieldProps ¶
type FormFieldProps struct {
base.FormElementProps
Layout LayoutType
Label templ.Component
Field templ.Component
InputGroup InputGroup
FormTip templ.Component
FloatingLabels bool
IsHidden bool
IsInErroredState bool
}
func (FormFieldProps) BuildClassNames ¶
func (ffp FormFieldProps) BuildClassNames() (classes string)
type InputGroup ¶
type InputGroup struct {
InputGroup templ.Component
Placement InputGroupPlacementType
}
type InputGroupPlacementType ¶
type InputGroupPlacementType string
const PlacementAfter InputGroupPlacementType = "after"
const PlacementBefore InputGroupPlacementType = "before"
type LayoutType ¶
type LayoutType string
const Horizontal LayoutType = "horizontal"
const Vertical LayoutType = "horizontal"
Click to show internal directories.
Click to hide internal directories.