@@ -32,6 +32,7 @@ const (
32
32
ConfigTypeTimezone ConfigType = "timezone"
33
33
ConfigTypeSwitch ConfigType = "switch"
34
34
ConfigTypeButton ConfigType = "button"
35
+ ConfigTypeLegend ConfigType = "legend"
35
36
)
36
37
37
38
const (
@@ -63,13 +64,15 @@ type ConfigField struct {
63
64
}
64
65
65
66
type ConfigFieldUIOptions struct {
66
- Placeholder Translator `json:"placeholder,omitempty"`
67
- Rows string `json:"rows,omitempty"`
68
- InputType InputType `json:"input_type,omitempty"`
69
- Label Translator `json:"label,omitempty"`
70
- Action * UIOptionAction `json:"action,omitempty"`
71
- Variant string `json:"variant,omitempty"`
72
- Text Translator `json:"text,omitempty"`
67
+ Placeholder Translator `json:"placeholder,omitempty"`
68
+ Rows string `json:"rows,omitempty"`
69
+ InputType InputType `json:"input_type,omitempty"`
70
+ Label Translator `json:"label,omitempty"`
71
+ Action * UIOptionAction `json:"action,omitempty"`
72
+ Variant string `json:"variant,omitempty"`
73
+ Text Translator `json:"text,omitempty"`
74
+ ClassName string `json:"class_name,omitempty"`
75
+ FieldClassName string `json:"field_class_name,omitempty"`
73
76
}
74
77
75
78
type ConfigFieldOption struct {
0 commit comments