multiselect_field_component

package
v0.3.16 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiSelectField

type MultiSelectField[T comparable] struct {
	hiro.Component
	Props   Props[T]                 `json:"-"`
	Options []select_model.Option[T] `json:"-"`
}

func (*MultiSelectField[T]) HandleChooseOption

func (c *MultiSelectField[T]) HandleChooseOption() error

func (*MultiSelectField[T]) Mount

func (c *MultiSelectField[T]) Mount()

func (*MultiSelectField[T]) Name

func (c *MultiSelectField[T]) Name() string

func (*MultiSelectField[T]) Node

func (c *MultiSelectField[T]) Node() Node

type Props

type Props[T comparable] struct {
	Id       string
	Label    string
	Name     string
	Value    []T
	Messages []string
	Required bool
}

func CreateProps

func CreateProps[T comparable](field form.Field[[]T]) Props[T]

Jump to

Keyboard shortcuts

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