|
| 1 | +This a custom component with a custom design. |
| 2 | + |
| 3 | +**Props** |
| 4 | + |
| 5 | +Dual list select is wrapped in a form group, so it accepts all [form group props](/renderer/component-api#formgroupwrappedcomponents). |
| 6 | + |
| 7 | +|Props|Type|Default|Description| |
| 8 | +|-----|----|-------|-----------| |
| 9 | +|options|array|[]|`[{label, value, ...props}]` *see below*| |
| 10 | +|leftTitle|String|'Options'|Title for options| |
| 11 | +|rightTitle|String|'Selected'|Title for selected items| |
| 12 | +|moveLeftTitle|String|'Move selected to left'|Tooltip for move to left button| |
| 13 | +|moveRightTitle|String|'Move selected to right'|Tooltip for move to right button| |
| 14 | +|moveAllLeftTitle|String|'Move all to left'|Tooltip for move all to left button| |
| 15 | +|moveAllRightTitle|String|'Move all to right'|Tooltip for move all to right button| |
| 16 | +|allToLeft|Boolean|true|Hides all to left button| |
| 17 | +|allToRight|Boolean|true|Hides all to right button| |
| 18 | +|noValueTitle|String|'No selected'|Placeholder for empty value| |
| 19 | +|noOptionsTitle|String|'No available options'|Placeholder for empty options| |
| 20 | +|filterOptionsTitle|String|'Filter options'|Placeholder for options filter input| |
| 21 | +|filterValueTitle|String|'Filter selected value'|Placeholder for value filter input| |
| 22 | +|filterValueText|String|'Remove your filter to see all selected'|Placeholder for value when there is no filtered value| |
| 23 | +|filterOptionsText|String|'Remove your filter to see all options'|Placeholder for options when there is no filtered option| |
| 24 | + |
| 25 | +**Options** |
| 26 | + |
| 27 | +|Props|Type|Description| |
| 28 | +|-----|----|-----------| |
| 29 | +|value|string|Value of the option| |
| 30 | +|label|node|ListItemText primary text| |
| 31 | +|MenuItemProps|object|Props passed to MenuItem| |
| 32 | + |
| 33 | +**Customization** |
| 34 | + |
| 35 | +|Props| |
| 36 | +|-----| |
| 37 | +|LeftWrapperProps| |
| 38 | +|RightWrapperProps| |
| 39 | +|ButtonGroupProps| |
| 40 | +|ToRightButtonProps| |
| 41 | +|AllToRightButtonProps| |
| 42 | +|AllToLeftButtonProps| |
| 43 | +|ToLeftButtonProps| |
| 44 | +|LeftControlGroupProps| |
| 45 | +|LeftInputGroupProps| |
| 46 | +|LeftButtonProps| |
| 47 | +|RightControlGroupProps| |
| 48 | +|RightInputGroupProps| |
| 49 | +|RightButtonProps| |
| 50 | +|LeftMenuProps| |
| 51 | +|LeftMenuItemProps| |
| 52 | +|RightMenuProps| |
| 53 | +|RightMenuItemProps| |
0 commit comments