edit

package
v1.7.21 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: MIT Imports: 11 Imported by: 0

README

Edit Component Helpers

This directory contains quicktemplate functions for various form input components used throughout the Project Forge application. All functions are defined as quicktemplate components in .html files.

AnyByType.html

Type Dispatch Functions
  • AnyByType(key string, id string, x any, t *types.Wrapped) - Routes to appropriate edit component based on type
  • Default(key string, id string, x any, t types.Type) - Fallback handler for unhandled types

Array.html (Selection Components)

Select Dropdowns
  • Select(key string, id string, value string, opts []string, titles []string, indent int) - Basic select dropdown
  • SelectVertical(key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string) - Vertical layout select
  • SelectTable(key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string) - Table row select
Datalist Components
  • Datalist(key string, id string, value string, opts []string, titles []string, indent int, placeholder ...string) - Input with datalist suggestions
  • DatalistVertical(key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string) - Vertical layout datalist
  • DatalistTable(key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string) - Table row datalist
Radio Buttons
  • Radio(key string, value string, opts []string, titles []string, indent int) - Basic radio button group
  • RadioVertical(key string, title string, value string, opts []string, titles []string, indent int, help ...string) - Vertical layout radio group
  • RadioTable(key string, title string, value string, opts []string, titles []string, indent int, help ...string) - Table row radio group
Checkboxes
  • Checkbox(key string, values []string, opts []string, titles []string, indent int) - Basic checkbox group
  • CheckboxVertical(key string, title string, values []string, opts []string, titles []string, indent int, help ...string) - Vertical layout checkbox group
  • CheckboxTable(key string, title string, values []string, opts []string, titles []string, indent int, help ...string) - Table row checkbox group

Bool.html

Boolean Input Components
  • Bool(key string, id string, x any, nullable bool) - Radio buttons for true/false/null
  • BoolVertical(key string, title string, value bool, indent int, help ...string) - Vertical layout boolean input
  • BoolTable(key string, title string, value bool, indent int, help ...string) - Table row boolean input

Color.html

Color Input Components
  • Color(key string, id string, color string, placeholder ...string) - HTML5 color picker input
  • ColorTable(key string, id string, title string, color string, indent int, help ...string) - Table row color picker

File.html

File Upload Components
  • File(key string, id string, label string, value string, placeholder ...string) - Single file upload
  • FileTable(key string, id string, title string, label string, value string) - Table row single file upload
  • FileMultiple(key string, id string, label string, value string, placeholder ...string) - Multiple file upload
  • FileMultipleTable(key string, id string, title string, label string, value string) - Table row multiple file upload

Float.html

Float Number Input Components
  • Float(key string, id string, value any, placeholder ...string) - Decimal number input
  • FloatVertical(key string, id string, title string, value float64, indent int, help ...string) - Vertical layout float input
  • FloatTable(key string, id string, title string, value float64, indent int, help ...string) - Table row float input

Icon.html

Icon Selection Components
  • IconPicker(key string, selected string, ps *cutil.PageState, indent int) - Visual icon picker with radio buttons
  • IconPickerVertical(key string, title string, value string, ps *cutil.PageState, indent int) - Vertical layout icon picker
  • Icons(key string, title string, value string, ps *cutil.PageState, indent int) - Icon selection component
  • IconsTable(key string, title string, value string, ps *cutil.PageState, indent int, help ...string) - Table row icon picker

Int.html

Integer Input Components
  • Int(key string, id string, value any, placeholder ...string) - Integer number input
  • IntVertical(key string, id string, title string, value int, indent int, help ...string) - Vertical layout integer input
  • IntTable(key string, id string, title string, value int, indent int, help ...string) - Table row integer input

Option.html

Optional Type Components
  • Option(key string, id string, x any, t *types.Option) - Handles optional/nullable types with null button

RichEdit.html

Rich Editor Components
  • RichEditor(key string, id string, title string, columns util.FieldDescs, values []any, placeholder ...string) - JSON-based rich text editor
  • RichEditorTable(key string, id string, title string, columns util.FieldDescs, values []any, placeholder ...string) - Table row rich editor
  • RichEditorCard(key string, id string, title string, ps *cutil.PageState, headerExtra string, icon string, columns util.FieldDescs, values []any, placeholder ...string) - Card-wrapped rich editor with toggle

Search.html

Search Form Components
  • SearchForm(action string, fieldKey string, placeholder string, value string, ps *cutil.PageState) - Search form with preserved query parameters

String.html

Text Input Components
  • String(key string, id string, value string, placeholder ...string) - Basic text input
  • StringVertical(key string, id string, title string, value string, indent int, help ...string) - Vertical layout text input
  • StringTable(key string, id string, title string, value string, indent int, help ...string) - Table row text input
Password Input Components
  • Password(key string, id string, value string, placeholder ...string) - Password input
  • PasswordVertical(key string, id string, title string, value string, indent int, help ...string) - Vertical layout password input
  • PasswordTable(key string, id string, title string, value string, indent int, help ...string) - Table row password input
Textarea Components
  • Textarea(key string, id string, rows int, value string, placeholder ...string) - Multi-line text input
  • TextareaVertical(key string, id string, title string, rows int, value string, indent int, help ...string) - Vertical layout textarea
  • TextareaTable(key string, id string, title string, rows int, value string, indent int, help ...string) - Table row textarea

TableEdit.html

Table Editor Components
  • TableEditor(key string, columns util.FieldDescs, values util.ValueMap, action string, method string, title string) - Complete table editor with form wrapper
  • TableEditorNoForm(key string, columns util.FieldDescs, values util.ValueMap, name string, value string, title string) - Table editor without form wrapper
  • TableEditorNoTable(key string, columns util.FieldDescs, values util.ValueMap) - Just the table rows without table wrapper

Tags.html

Tag Input Components
  • Tags(key string, id string, values []string, ps *cutil.PageState, placeholder ...string) - Interactive tag editor with add/remove functionality
  • TagsVertical(key string, id string, title string, values []string, ps *cutil.PageState, indent int, help ...string) - Vertical layout tag editor
  • TagsTable(key string, id string, title string, values []string, ps *cutil.PageState, indent int, help ...string) - Table row tag editor

Timestamp.html

Timestamp Input Components
  • Timestamp(key string, id string, value *time.Time, placeholder ...string) - Date/time picker input
  • TimestampVertical(key string, id string, title string, value *time.Time, indent int, help ...string) - Vertical layout timestamp input
  • TimestampTable(key string, id string, title string, value *time.Time, indent int, help ...string) - Table row timestamp input
Date-only Input Components
  • TimestampDay(key string, id string, value *time.Time, placeholder ...string) - Date-only picker
  • TimestampDayVertical(key string, id string, title string, value *time.Time, indent int, help ...string) - Vertical layout date picker
  • TimestampDayTable(key string, id string, title string, value *time.Time, indent int, help ...string) - Table row date picker

UUID.html

UUID Input Components
  • UUID(key string, id string, value *uuid.UUID, placeholder ...string) - UUID text input (delegates to String)
  • UUIDVertical(key string, id string, title string, value *uuid.UUID, indent int, help ...string) - Vertical layout UUID input
  • UUIDTable(key string, id string, title string, value *uuid.UUID, indent int, help ...string) - Table row UUID input

Usage Patterns

Layout Variants

Most input components come in three layout variants:

  • Basic: Just the input element (e.g., String, Int, Float)
  • Vertical: Input with label above in a vertical layout (e.g., StringVertical, IntVertical)
  • Table: Input formatted as a table row with label in left column (e.g., StringTable, IntTable)
Common Parameters
  • key: The form field name attribute
  • id: The HTML id attribute (optional for basic variants)
  • title: The label text for vertical and table variants
  • indent: Indentation level for proper HTML formatting
  • help: Optional help text that becomes a tooltip or description
  • placeholder: Optional placeholder text for inputs
Integration

These components are designed to work with the Project Forge MVC architecture and integrate with:

  • cutil.PageState for managing page state and assets
  • util.FieldDescs for dynamic form field descriptions
  • The application's CSS framework for consistent styling

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyByType added in v1.2.19

func AnyByType(key string, id string, x any, t *types.Wrapped) string

func Bool

func Bool(key string, id string, x any, nullable bool) string

func BoolTable

func BoolTable(key string, title string, value bool, indent int, help ...string) string

func BoolVertical

func BoolVertical(key string, title string, value bool, indent int, help ...string) string

func Checkbox

func Checkbox(key string, values []string, opts []string, titles []string, indent int) string

func CheckboxTable

func CheckboxTable(key string, title string, values []string, opts []string, titles []string, indent int, help ...string) string

func CheckboxVertical

func CheckboxVertical(key string, title string, values []string, opts []string, titles []string, indent int, help ...string) string

func Color added in v1.2.18

func Color(key string, id string, color string, placeholder ...string) string

func ColorTable added in v1.2.18

func ColorTable(key string, id string, title string, color string, indent int, help ...string) string

func Datalist

func Datalist(key string, id string, value string, opts []string, titles []string, indent int, placeholder ...string) string

func DatalistTable

func DatalistTable(key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string) string

func DatalistVertical

func DatalistVertical(key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string) string

func Default

func Default(key string, id string, x any, t types.Type) string

func File

func File(key string, id string, label string, value string, placeholder ...string) string

func FileMultiple

func FileMultiple(key string, id string, label string, value string, placeholder ...string) string

func FileMultipleTable added in v1.0.16

func FileMultipleTable(key string, id string, title string, label string, value string) string

func FileTable

func FileTable(key string, id string, title string, label string, value string) string

func Float

func Float(key string, id string, value any, placeholder ...string) string

func FloatTable

func FloatTable(key string, id string, title string, value float64, indent int, help ...string) string

func FloatVertical

func FloatVertical(key string, id string, title string, value float64, indent int, help ...string) string

func IconPicker

func IconPicker(key string, selected string, ps *cutil.PageState, indent int) string

func IconPickerVertical

func IconPickerVertical(key string, title string, value string, ps *cutil.PageState, indent int) string

func Icons

func Icons(key string, title string, value string, ps *cutil.PageState, indent int) string

func IconsTable

func IconsTable(key string, title string, value string, ps *cutil.PageState, indent int, help ...string) string

func Int

func Int(key string, id string, value any, placeholder ...string) string

func IntTable

func IntTable(key string, id string, title string, value int, indent int, help ...string) string

func IntVertical

func IntVertical(key string, id string, title string, value int, indent int, help ...string) string

func Option

func Option(key string, id string, x any, t *types.Option) string

func Password

func Password(key string, id string, value string, placeholder ...string) string

func PasswordTable

func PasswordTable(key string, id string, title string, value string, indent int, help ...string) string

func PasswordVertical

func PasswordVertical(key string, id string, title string, value string, indent int, help ...string) string

func Radio

func Radio(key string, value string, opts []string, titles []string, indent int) string

func RadioTable

func RadioTable(key string, title string, value string, opts []string, titles []string, indent int, help ...string) string

func RadioVertical

func RadioVertical(key string, title string, value string, opts []string, titles []string, indent int, help ...string) string

func RichEditor

func RichEditor(key string, id string, title string, columns util.FieldDescs, values []any, placeholder ...string) string

func RichEditorCard added in v1.0.14

func RichEditorCard(key string, id string, title string, ps *cutil.PageState, headerExtra string, icon string, columns util.FieldDescs, values []any, placeholder ...string) string

func RichEditorTable

func RichEditorTable(key string, id string, title string, columns util.FieldDescs, values []any, placeholder ...string) string

func SearchForm

func SearchForm(action string, fieldKey string, placeholder string, value string, ps *cutil.PageState) string

func Select

func Select(key string, id string, value string, opts []string, titles []string, indent int) string

func SelectTable

func SelectTable(key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string) string

func SelectVertical

func SelectVertical(key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string) string

func StreamAnyByType added in v1.2.19

func StreamAnyByType(qw422016 *qt422016.Writer, key string, id string, x any, t *types.Wrapped)

func StreamBool

func StreamBool(qw422016 *qt422016.Writer, key string, id string, x any, nullable bool)

func StreamBoolTable

func StreamBoolTable(qw422016 *qt422016.Writer, key string, title string, value bool, indent int, help ...string)

func StreamBoolVertical

func StreamBoolVertical(qw422016 *qt422016.Writer, key string, title string, value bool, indent int, help ...string)

func StreamCheckbox

func StreamCheckbox(qw422016 *qt422016.Writer, key string, values []string, opts []string, titles []string, indent int)

func StreamCheckboxTable

func StreamCheckboxTable(qw422016 *qt422016.Writer, key string, title string, values []string, opts []string, titles []string, indent int, help ...string)

func StreamCheckboxVertical

func StreamCheckboxVertical(qw422016 *qt422016.Writer, key string, title string, values []string, opts []string, titles []string, indent int, help ...string)

func StreamColor added in v1.2.18

func StreamColor(qw422016 *qt422016.Writer, key string, id string, color string, placeholder ...string)

func StreamColorTable added in v1.2.18

func StreamColorTable(qw422016 *qt422016.Writer, key string, id string, title string, color string, indent int, help ...string)

func StreamDatalist

func StreamDatalist(qw422016 *qt422016.Writer, key string, id string, value string, opts []string, titles []string, indent int, placeholder ...string)

func StreamDatalistTable

func StreamDatalistTable(qw422016 *qt422016.Writer, key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string)

func StreamDatalistVertical

func StreamDatalistVertical(qw422016 *qt422016.Writer, key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string)

func StreamDefault

func StreamDefault(qw422016 *qt422016.Writer, key string, id string, x any, t types.Type)

func StreamFile

func StreamFile(qw422016 *qt422016.Writer, key string, id string, label string, value string, placeholder ...string)

func StreamFileMultiple

func StreamFileMultiple(qw422016 *qt422016.Writer, key string, id string, label string, value string, placeholder ...string)

func StreamFileMultipleTable added in v1.0.16

func StreamFileMultipleTable(qw422016 *qt422016.Writer, key string, id string, title string, label string, value string)

func StreamFileTable

func StreamFileTable(qw422016 *qt422016.Writer, key string, id string, title string, label string, value string)

func StreamFloat

func StreamFloat(qw422016 *qt422016.Writer, key string, id string, value any, placeholder ...string)

func StreamFloatTable

func StreamFloatTable(qw422016 *qt422016.Writer, key string, id string, title string, value float64, indent int, help ...string)

func StreamFloatVertical

func StreamFloatVertical(qw422016 *qt422016.Writer, key string, id string, title string, value float64, indent int, help ...string)

func StreamIconPicker

func StreamIconPicker(qw422016 *qt422016.Writer, key string, selected string, ps *cutil.PageState, indent int)

func StreamIconPickerVertical

func StreamIconPickerVertical(qw422016 *qt422016.Writer, key string, title string, value string, ps *cutil.PageState, indent int)

func StreamIcons

func StreamIcons(qw422016 *qt422016.Writer, key string, title string, value string, ps *cutil.PageState, indent int)

func StreamIconsTable

func StreamIconsTable(qw422016 *qt422016.Writer, key string, title string, value string, ps *cutil.PageState, indent int, help ...string)

func StreamInt

func StreamInt(qw422016 *qt422016.Writer, key string, id string, value any, placeholder ...string)

func StreamIntTable

func StreamIntTable(qw422016 *qt422016.Writer, key string, id string, title string, value int, indent int, help ...string)

func StreamIntVertical

func StreamIntVertical(qw422016 *qt422016.Writer, key string, id string, title string, value int, indent int, help ...string)

func StreamOption

func StreamOption(qw422016 *qt422016.Writer, key string, id string, x any, t *types.Option)

func StreamPassword

func StreamPassword(qw422016 *qt422016.Writer, key string, id string, value string, placeholder ...string)

func StreamPasswordTable

func StreamPasswordTable(qw422016 *qt422016.Writer, key string, id string, title string, value string, indent int, help ...string)

func StreamPasswordVertical

func StreamPasswordVertical(qw422016 *qt422016.Writer, key string, id string, title string, value string, indent int, help ...string)

func StreamRadio

func StreamRadio(qw422016 *qt422016.Writer, key string, value string, opts []string, titles []string, indent int)

func StreamRadioTable

func StreamRadioTable(qw422016 *qt422016.Writer, key string, title string, value string, opts []string, titles []string, indent int, help ...string)

func StreamRadioVertical

func StreamRadioVertical(qw422016 *qt422016.Writer, key string, title string, value string, opts []string, titles []string, indent int, help ...string)

func StreamRichEditor

func StreamRichEditor(qw422016 *qt422016.Writer, key string, id string, title string, columns util.FieldDescs, values []any, placeholder ...string)

func StreamRichEditorCard added in v1.0.14

func StreamRichEditorCard(qw422016 *qt422016.Writer, key string, id string, title string, ps *cutil.PageState, headerExtra string, icon string, columns util.FieldDescs, values []any, placeholder ...string)

func StreamRichEditorTable

func StreamRichEditorTable(qw422016 *qt422016.Writer, key string, id string, title string, columns util.FieldDescs, values []any, placeholder ...string)

func StreamSearchForm

func StreamSearchForm(qw422016 *qt422016.Writer, action string, fieldKey string, placeholder string, value string, ps *cutil.PageState)

func StreamSelect

func StreamSelect(qw422016 *qt422016.Writer, key string, id string, value string, opts []string, titles []string, indent int)

func StreamSelectTable

func StreamSelectTable(qw422016 *qt422016.Writer, key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string)

func StreamSelectVertical

func StreamSelectVertical(qw422016 *qt422016.Writer, key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string)

func StreamString

func StreamString(qw422016 *qt422016.Writer, key string, id string, value string, placeholder ...string)

func StreamStringTable

func StreamStringTable(qw422016 *qt422016.Writer, key string, id string, title string, value string, indent int, help ...string)

func StreamStringVertical

func StreamStringVertical(qw422016 *qt422016.Writer, key string, id string, title string, value string, indent int, help ...string)

func StreamTableEditor added in v1.4.4

func StreamTableEditor(qw422016 *qt422016.Writer, key string, columns util.FieldDescs, values util.ValueMap, action string, method string, title string)

func StreamTableEditorNoForm added in v1.5.19

func StreamTableEditorNoForm(qw422016 *qt422016.Writer, key string, columns util.FieldDescs, values util.ValueMap, name string, value string, title string)

func StreamTableEditorNoTable added in v1.5.20

func StreamTableEditorNoTable(qw422016 *qt422016.Writer, key string, columns util.FieldDescs, values util.ValueMap)

func StreamTags

func StreamTags(qw422016 *qt422016.Writer, key string, id string, values []string, ps *cutil.PageState, placeholder ...string)

func StreamTagsTable

func StreamTagsTable(qw422016 *qt422016.Writer, key string, id string, title string, values []string, ps *cutil.PageState, indent int, help ...string)

func StreamTagsVertical

func StreamTagsVertical(qw422016 *qt422016.Writer, key string, id string, title string, values []string, ps *cutil.PageState, indent int, help ...string)

func StreamTextarea

func StreamTextarea(qw422016 *qt422016.Writer, key string, id string, rows int, value string, placeholder ...string)

func StreamTextareaTable

func StreamTextareaTable(qw422016 *qt422016.Writer, key string, id string, title string, rows int, value string, indent int, help ...string)

func StreamTextareaVertical

func StreamTextareaVertical(qw422016 *qt422016.Writer, key string, id string, title string, rows int, value string, indent int, help ...string)

func StreamTimestamp

func StreamTimestamp(qw422016 *qt422016.Writer, key string, id string, value *time.Time, placeholder ...string)

func StreamTimestampDay

func StreamTimestampDay(qw422016 *qt422016.Writer, key string, id string, value *time.Time, placeholder ...string)

func StreamTimestampDayTable

func StreamTimestampDayTable(qw422016 *qt422016.Writer, key string, id string, title string, value *time.Time, indent int, help ...string)

func StreamTimestampDayVertical

func StreamTimestampDayVertical(qw422016 *qt422016.Writer, key string, id string, title string, value *time.Time, indent int, help ...string)

func StreamTimestampTable

func StreamTimestampTable(qw422016 *qt422016.Writer, key string, id string, title string, value *time.Time, indent int, help ...string)

func StreamTimestampVertical

func StreamTimestampVertical(qw422016 *qt422016.Writer, key string, id string, title string, value *time.Time, indent int, help ...string)

func StreamUUID

func StreamUUID(qw422016 *qt422016.Writer, key string, id string, value *uuid.UUID, placeholder ...string)

func StreamUUIDTable

func StreamUUIDTable(qw422016 *qt422016.Writer, key string, id string, title string, value *uuid.UUID, indent int, help ...string)

func StreamUUIDVertical

func StreamUUIDVertical(qw422016 *qt422016.Writer, key string, id string, title string, value *uuid.UUID, indent int, help ...string)

func String

func String(key string, id string, value string, placeholder ...string) string

func StringTable

func StringTable(key string, id string, title string, value string, indent int, help ...string) string

func StringVertical

func StringVertical(key string, id string, title string, value string, indent int, help ...string) string

func TableEditor added in v1.4.4

func TableEditor(key string, columns util.FieldDescs, values util.ValueMap, action string, method string, title string) string

func TableEditorNoForm added in v1.5.19

func TableEditorNoForm(key string, columns util.FieldDescs, values util.ValueMap, name string, value string, title string) string

func TableEditorNoTable added in v1.5.20

func TableEditorNoTable(key string, columns util.FieldDescs, values util.ValueMap) string

func Tags

func Tags(key string, id string, values []string, ps *cutil.PageState, placeholder ...string) string

func TagsTable

func TagsTable(key string, id string, title string, values []string, ps *cutil.PageState, indent int, help ...string) string

func TagsVertical

func TagsVertical(key string, id string, title string, values []string, ps *cutil.PageState, indent int, help ...string) string

func Textarea

func Textarea(key string, id string, rows int, value string, placeholder ...string) string

func TextareaTable

func TextareaTable(key string, id string, title string, rows int, value string, indent int, help ...string) string

func TextareaVertical

func TextareaVertical(key string, id string, title string, rows int, value string, indent int, help ...string) string

func Timestamp

func Timestamp(key string, id string, value *time.Time, placeholder ...string) string

func TimestampDay

func TimestampDay(key string, id string, value *time.Time, placeholder ...string) string

func TimestampDayTable

func TimestampDayTable(key string, id string, title string, value *time.Time, indent int, help ...string) string

func TimestampDayVertical

func TimestampDayVertical(key string, id string, title string, value *time.Time, indent int, help ...string) string

func TimestampTable

func TimestampTable(key string, id string, title string, value *time.Time, indent int, help ...string) string

func TimestampVertical

func TimestampVertical(key string, id string, title string, value *time.Time, indent int, help ...string) string

func UUID

func UUID(key string, id string, value *uuid.UUID, placeholder ...string) string

func UUIDTable

func UUIDTable(key string, id string, title string, value *uuid.UUID, indent int, help ...string) string

func UUIDVertical

func UUIDVertical(key string, id string, title string, value *uuid.UUID, indent int, help ...string) string

func WriteAnyByType added in v1.2.19

func WriteAnyByType(qq422016 qtio422016.Writer, key string, id string, x any, t *types.Wrapped)

func WriteBool

func WriteBool(qq422016 qtio422016.Writer, key string, id string, x any, nullable bool)

func WriteBoolTable

func WriteBoolTable(qq422016 qtio422016.Writer, key string, title string, value bool, indent int, help ...string)

func WriteBoolVertical

func WriteBoolVertical(qq422016 qtio422016.Writer, key string, title string, value bool, indent int, help ...string)

func WriteCheckbox

func WriteCheckbox(qq422016 qtio422016.Writer, key string, values []string, opts []string, titles []string, indent int)

func WriteCheckboxTable

func WriteCheckboxTable(qq422016 qtio422016.Writer, key string, title string, values []string, opts []string, titles []string, indent int, help ...string)

func WriteCheckboxVertical

func WriteCheckboxVertical(qq422016 qtio422016.Writer, key string, title string, values []string, opts []string, titles []string, indent int, help ...string)

func WriteColor added in v1.2.18

func WriteColor(qq422016 qtio422016.Writer, key string, id string, color string, placeholder ...string)

func WriteColorTable added in v1.2.18

func WriteColorTable(qq422016 qtio422016.Writer, key string, id string, title string, color string, indent int, help ...string)

func WriteDatalist

func WriteDatalist(qq422016 qtio422016.Writer, key string, id string, value string, opts []string, titles []string, indent int, placeholder ...string)

func WriteDatalistTable

func WriteDatalistTable(qq422016 qtio422016.Writer, key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string)

func WriteDatalistVertical

func WriteDatalistVertical(qq422016 qtio422016.Writer, key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string)

func WriteDefault

func WriteDefault(qq422016 qtio422016.Writer, key string, id string, x any, t types.Type)

func WriteFile

func WriteFile(qq422016 qtio422016.Writer, key string, id string, label string, value string, placeholder ...string)

func WriteFileMultiple

func WriteFileMultiple(qq422016 qtio422016.Writer, key string, id string, label string, value string, placeholder ...string)

func WriteFileMultipleTable added in v1.0.16

func WriteFileMultipleTable(qq422016 qtio422016.Writer, key string, id string, title string, label string, value string)

func WriteFileTable

func WriteFileTable(qq422016 qtio422016.Writer, key string, id string, title string, label string, value string)

func WriteFloat

func WriteFloat(qq422016 qtio422016.Writer, key string, id string, value any, placeholder ...string)

func WriteFloatTable

func WriteFloatTable(qq422016 qtio422016.Writer, key string, id string, title string, value float64, indent int, help ...string)

func WriteFloatVertical

func WriteFloatVertical(qq422016 qtio422016.Writer, key string, id string, title string, value float64, indent int, help ...string)

func WriteIconPicker

func WriteIconPicker(qq422016 qtio422016.Writer, key string, selected string, ps *cutil.PageState, indent int)

func WriteIconPickerVertical

func WriteIconPickerVertical(qq422016 qtio422016.Writer, key string, title string, value string, ps *cutil.PageState, indent int)

func WriteIcons

func WriteIcons(qq422016 qtio422016.Writer, key string, title string, value string, ps *cutil.PageState, indent int)

func WriteIconsTable

func WriteIconsTable(qq422016 qtio422016.Writer, key string, title string, value string, ps *cutil.PageState, indent int, help ...string)

func WriteInt

func WriteInt(qq422016 qtio422016.Writer, key string, id string, value any, placeholder ...string)

func WriteIntTable

func WriteIntTable(qq422016 qtio422016.Writer, key string, id string, title string, value int, indent int, help ...string)

func WriteIntVertical

func WriteIntVertical(qq422016 qtio422016.Writer, key string, id string, title string, value int, indent int, help ...string)

func WriteOption

func WriteOption(qq422016 qtio422016.Writer, key string, id string, x any, t *types.Option)

func WritePassword

func WritePassword(qq422016 qtio422016.Writer, key string, id string, value string, placeholder ...string)

func WritePasswordTable

func WritePasswordTable(qq422016 qtio422016.Writer, key string, id string, title string, value string, indent int, help ...string)

func WritePasswordVertical

func WritePasswordVertical(qq422016 qtio422016.Writer, key string, id string, title string, value string, indent int, help ...string)

func WriteRadio

func WriteRadio(qq422016 qtio422016.Writer, key string, value string, opts []string, titles []string, indent int)

func WriteRadioTable

func WriteRadioTable(qq422016 qtio422016.Writer, key string, title string, value string, opts []string, titles []string, indent int, help ...string)

func WriteRadioVertical

func WriteRadioVertical(qq422016 qtio422016.Writer, key string, title string, value string, opts []string, titles []string, indent int, help ...string)

func WriteRichEditor

func WriteRichEditor(qq422016 qtio422016.Writer, key string, id string, title string, columns util.FieldDescs, values []any, placeholder ...string)

func WriteRichEditorCard added in v1.0.14

func WriteRichEditorCard(qq422016 qtio422016.Writer, key string, id string, title string, ps *cutil.PageState, headerExtra string, icon string, columns util.FieldDescs, values []any, placeholder ...string)

func WriteRichEditorTable

func WriteRichEditorTable(qq422016 qtio422016.Writer, key string, id string, title string, columns util.FieldDescs, values []any, placeholder ...string)

func WriteSearchForm

func WriteSearchForm(qq422016 qtio422016.Writer, action string, fieldKey string, placeholder string, value string, ps *cutil.PageState)

func WriteSelect

func WriteSelect(qq422016 qtio422016.Writer, key string, id string, value string, opts []string, titles []string, indent int)

func WriteSelectTable

func WriteSelectTable(qq422016 qtio422016.Writer, key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string)

func WriteSelectVertical

func WriteSelectVertical(qq422016 qtio422016.Writer, key string, id string, title string, value string, opts []string, titles []string, indent int, help ...string)

func WriteString

func WriteString(qq422016 qtio422016.Writer, key string, id string, value string, placeholder ...string)

func WriteStringTable

func WriteStringTable(qq422016 qtio422016.Writer, key string, id string, title string, value string, indent int, help ...string)

func WriteStringVertical

func WriteStringVertical(qq422016 qtio422016.Writer, key string, id string, title string, value string, indent int, help ...string)

func WriteTableEditor added in v1.4.4

func WriteTableEditor(qq422016 qtio422016.Writer, key string, columns util.FieldDescs, values util.ValueMap, action string, method string, title string)

func WriteTableEditorNoForm added in v1.5.19

func WriteTableEditorNoForm(qq422016 qtio422016.Writer, key string, columns util.FieldDescs, values util.ValueMap, name string, value string, title string)

func WriteTableEditorNoTable added in v1.5.20

func WriteTableEditorNoTable(qq422016 qtio422016.Writer, key string, columns util.FieldDescs, values util.ValueMap)

func WriteTags

func WriteTags(qq422016 qtio422016.Writer, key string, id string, values []string, ps *cutil.PageState, placeholder ...string)

func WriteTagsTable

func WriteTagsTable(qq422016 qtio422016.Writer, key string, id string, title string, values []string, ps *cutil.PageState, indent int, help ...string)

func WriteTagsVertical

func WriteTagsVertical(qq422016 qtio422016.Writer, key string, id string, title string, values []string, ps *cutil.PageState, indent int, help ...string)

func WriteTextarea

func WriteTextarea(qq422016 qtio422016.Writer, key string, id string, rows int, value string, placeholder ...string)

func WriteTextareaTable

func WriteTextareaTable(qq422016 qtio422016.Writer, key string, id string, title string, rows int, value string, indent int, help ...string)

func WriteTextareaVertical

func WriteTextareaVertical(qq422016 qtio422016.Writer, key string, id string, title string, rows int, value string, indent int, help ...string)

func WriteTimestamp

func WriteTimestamp(qq422016 qtio422016.Writer, key string, id string, value *time.Time, placeholder ...string)

func WriteTimestampDay

func WriteTimestampDay(qq422016 qtio422016.Writer, key string, id string, value *time.Time, placeholder ...string)

func WriteTimestampDayTable

func WriteTimestampDayTable(qq422016 qtio422016.Writer, key string, id string, title string, value *time.Time, indent int, help ...string)

func WriteTimestampDayVertical

func WriteTimestampDayVertical(qq422016 qtio422016.Writer, key string, id string, title string, value *time.Time, indent int, help ...string)

func WriteTimestampTable

func WriteTimestampTable(qq422016 qtio422016.Writer, key string, id string, title string, value *time.Time, indent int, help ...string)

func WriteTimestampVertical

func WriteTimestampVertical(qq422016 qtio422016.Writer, key string, id string, title string, value *time.Time, indent int, help ...string)

func WriteUUID

func WriteUUID(qq422016 qtio422016.Writer, key string, id string, value *uuid.UUID, placeholder ...string)

func WriteUUIDTable

func WriteUUIDTable(qq422016 qtio422016.Writer, key string, id string, title string, value *uuid.UUID, indent int, help ...string)

func WriteUUIDVertical

func WriteUUIDVertical(qq422016 qtio422016.Writer, key string, id string, title string, value *uuid.UUID, indent int, help ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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