fix: change labelProp to textProp

This commit is contained in:
elforjani3
2021-01-14 14:21:52 +02:00
parent 724584e248
commit dbf8cae5e5
12 changed files with 18 additions and 18 deletions

View File

@@ -34,7 +34,7 @@ export default function DisplayNameList({
<ListSelect
items={formatOptions}
selectedItemProp={'label'}
labelProp={'label'}
textProp={'label'}
defaultText={'Select display name as'}
filterable={false}
{ ...restProps }