@@ -163,6 +163,8 @@ const DualList = ({
163
163
rightValues,
164
164
handleValuesClick,
165
165
validateOnMount,
166
+ leftSortTitle,
167
+ rightSortTitle,
166
168
OptionsListProps,
167
169
OptionProps,
168
170
LabelProps : { className : labelClassName , error : labelError , ...LabelProps } ,
@@ -212,6 +214,7 @@ const DualList = ({
212
214
value = { state . filterOptions }
213
215
placeholder = { filterOptionsTitle }
214
216
id = { `${ input . name } -options-toolbar` }
217
+ sortTitle = { leftSortTitle }
215
218
{ ...ToolbarProps }
216
219
/>
217
220
</ GridColumn >
@@ -296,6 +299,7 @@ const DualList = ({
296
299
value = { state . filterValue }
297
300
placeholder = { filterValueTitle }
298
301
id = { `${ input . name } -value-toolbar` }
302
+ sortTitle = { rightSortTitle }
299
303
{ ...ToolbarProps }
300
304
/>
301
305
</ GridColumn >
@@ -355,6 +359,8 @@ DualList.propTypes = {
355
359
rightValues : PropTypes . array ,
356
360
handleValuesClick : PropTypes . func ,
357
361
validateOnMount : PropTypes . bool ,
362
+ leftSortTitle : PropTypes . node ,
363
+ rightSortTitle : PropTypes . node ,
358
364
/** Sub components customization API */
359
365
OptionsListProps : PropTypes . object ,
360
366
OptionProps : PropTypes . object ,
@@ -384,6 +390,8 @@ DualList.defaultProps = {
384
390
filterValueTitle : 'Filter selected value' ,
385
391
filterOptionsText : 'Remove your filter to see all options' ,
386
392
filterValueText : 'Remove your filter to see all selected' ,
393
+ leftSortTitle : 'Sort options' ,
394
+ rightSortTitle : 'Sort value' ,
387
395
options : [ ] ,
388
396
allToLeft : true ,
389
397
allToRight : true ,
0 commit comments