Skip to content

Commit

Permalink
Add ui-builder missing fields (#29)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <[email protected]>
  • Loading branch information
ArnobKumarSaha authored Oct 31, 2024
1 parent 4395c3c commit b35fcad
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ type InputElement struct {
ValidationRuleObject *ValidationRule `json:"validationRuleObject,omitempty"`
Fetch string `json:"fetch,omitempty"`
InputType string `json:"inputType,omitempty"`
Description *Description `json:"description,omitempty"`
}

type ValidationRule struct {
Expand Down Expand Up @@ -549,6 +550,7 @@ type SelectElement struct {
KeepEmpty bool `json:"keepEmpty,omitempty"`
AddNewButton *AddNewButton `json:"add_new_button,omitempty"`
Refresh bool `json:"refresh,omitempty"`
HasGroup *bool `json:"hasGroup,omitempty"`
Sortable bool `json:"sortable,omitempty"`
DisableUnselect bool `json:"disableUnselect,omitempty"`
}
Expand Down Expand Up @@ -667,11 +669,17 @@ type SingleStepForm struct {
Element *SingleStepFormElement `json:"element,omitempty"`
CustomClass string `json:"customClass,omitempty"`
ShowLabel bool `json:"show_label,omitempty"`
HideForm bool `json:"hideForm,omitempty"`
HideForm *bool `json:"hideForm,omitempty"`
Computed string `json:"computed,omitempty"`
KeepEmpty bool `json:"keepEmpty,omitempty"`
ToggleOption *ToggleOption `json:"toggleOption,omitempty"`
OnChange string `json:"onChange,omitempty"`
Accordion *bool `json:"accordion,omitempty"`
Description *Description `json:"description,omitempty"`
}

type Description struct {
Text *string `json:"text,omitempty"`
}

type ToggleOption struct {
Expand Down

0 comments on commit b35fcad

Please sign in to comment.