Skip to content

Commit

Permalink
Make elements field required for single-step-form
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 5, 2023
1 parent 8285a88 commit 6cd90d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ type SingleStepForm struct {
Schema *SchemaRef `json:"schema,omitempty"`
If string `json:"if,omitempty"`
Discriminator map[string]Discriminator `json:"discriminator,omitempty"`
Elements []UnionElement `json:"elements,omitempty"`
Elements []UnionElement `json:"elements"`
Element *SingleStepFormElement `json:"element,omitempty"`
CustomClass string `json:"customClass,omitempty"`
ShowLabel bool `json:"show_label,omitempty"`
Expand Down

0 comments on commit 6cd90d3

Please sign in to comment.