datalist

package
v0.0.0-...-253b25b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 7 Imported by: 0

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 DatalistProps) templ.Component

Types

type DatalistProps

type DatalistProps struct {
	base.FormElementProps
	Value                          string
	Placeholder                    string
	Type                           entities.FormFieldType
	Size                           inputfield.SizeType
	FieldValidationFeedbackMessage string
	Validation                     entities.FormFieldValidation
	ExtraAttributes                map[string]any
	Items                          []base.FormListProps
}

func (DatalistProps) BuildClassNames

func (dlp DatalistProps) BuildClassNames() (classes string)

func (DatalistProps) GetInputType

func (dlp DatalistProps) GetInputType() (inputType entities.FormFieldType)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL