Skip to content

Commit a9a53e7

Browse files
committed
Document the "multiple" attribute for select boxes
See #29
1 parent f62b951 commit a9a53e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/official-site/sqlpage/migrations/01_documentation.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
228228
('required', 'Set this to true to prevent the form contents from being sent if this field is left empty by the user.', 'BOOL', FALSE, TRUE),
229229
('min', 'The minimum value to accept for an input of type number', 'NUMBER', FALSE, TRUE),
230230
('max', 'The minimum value to accept for an input of type number', 'NUMBER', FALSE, TRUE),
231-
('checked', 'Used only for checkboxes. Indicates whether the checkbox should appear as already checked.', 'BOOL', FALSE, TRUE),
231+
('checked', 'Used only for checkboxes and radio buttons. Indicates whether the checkbox should appear as already checked.', 'BOOL', FALSE, TRUE),
232+
('multiple', 'Used only for select elements. Indicates that multiple elements can be selected simultaneously.', 'BOOL', FALSE, TRUE),
232233
('step', 'The increment of values in an input of type number. Set to 1 to allow only integers.', 'NUMBER', FALSE, TRUE),
233234
('description', 'A helper text to display near the input field.', 'TEXT', FALSE, TRUE),
234235
('pattern', 'A regular expression that the value must match. For instance, [0-9]{3} will only accept 3 digits.', 'TEXT', FALSE, TRUE),

0 commit comments

Comments
 (0)