Documentation ¶
Overview ¶
templ: version: v0.2.747
Index ¶
Constants ¶
View Source
const RootClassName = "form-control"
Variables ¶
This section is empty.
Functions ¶
func Show ¶
func Show(props InputProps) templ.Component
Types ¶
type InputProps ¶
type InputProps struct { base.FormElementProps Value string Placeholder string Type entities.FormFieldType Size SizeType FieldValidationFeedbackMessage string Validation entities.FormFieldValidation ExtraAttributes map[string]any Min float32 Max float32 Step float32 }
func (InputProps) BuildClassNames ¶
func (ip InputProps) BuildClassNames() (classes string)
func (InputProps) GetInputType ¶
func (ip InputProps) GetInputType() (inputType entities.FormFieldType)
Click to show internal directories.
Click to hide internal directories.