Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLanguagesOptions ¶
func CreateLanguagesOptions(c hiro.Ctx) []select_model.Option[string]
Types ¶
type Props ¶
type Props[T comparable] struct { Id string Label string Name string Text string Placeholder string Value T Messages []string Required bool Size string Refresh bool OnChange func(option select_model.Option[T]) PositionX string PositionY string Nodes []gox.Node }
func CreateProps ¶
func CreateProps[T comparable](field form.Field[T]) Props[T]
type SelectField ¶
type SelectField[T comparable] struct { hiro.Component Props Props[T] `json:"-"` Options []select_model.Option[T] `json:"-"` }
func (*SelectField[T]) HandleChooseOption ¶
func (c *SelectField[T]) HandleChooseOption() error
func (*SelectField[T]) Mount ¶
func (c *SelectField[T]) Mount()
func (*SelectField[T]) Name ¶
func (c *SelectField[T]) Name() string
func (*SelectField[T]) Node ¶
func (c *SelectField[T]) Node() Node
Click to show internal directories.
Click to hide internal directories.