Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseChooser ¶
type BaseChooser struct {
*widgets.BaseWidget
Opts BaseChooserOptions
// contains filtered or unexported fields
}
func BaseChooserWidget ¶
func BaseChooserWidget(opts BaseChooserOptions, attrs map[string]string) *BaseChooser
func (*BaseChooser) ModelDefinition ¶ added in v1.7.2
func (o *BaseChooser) ModelDefinition() *contenttypes.ContentTypeDefinition
type BaseChooserOptions ¶
type Select ¶
type Select struct {
*BaseChooser
ExcludeBlank bool
BlankLabel string
}
func SelectWidget ¶
func (*Select) GetContextData ¶
func (*Select) ValueToForm ¶
func (o *Select) ValueToForm(value interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.