We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55bf9bc commit c3bb72fCopy full SHA for c3bb72f
1 file changed
ui/widget/widget.go
@@ -244,7 +244,8 @@ func RegisterAll() error {
244
valid.StringValidator(1, 0, nil)),
245
},
246
"initiallySelected": {
247
- Validate: valid.StringValidator(1, 0, nil),
+ Validate: valid.ListValidator(0, math.MaxInt,
248
+ valid.StringValidator(1, 0, nil)),
249
250
251
})
@@ -337,8 +338,7 @@ func RegisterAll() error {
337
338
Validate: valid.ExactStringValidator("richText"),
339
340
"label": {
- Required: true,
341
+ Validate: valid.StringValidator(0, 0, nil),
342
343
"hint": {
344
Validate: valid.StringValidator(1, 0, nil),
0 commit comments