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

@@ -54,7 +54,7 @@ export default function FinancialAccountsFilter({ ...restProps }) {
filterable={false}
selectedItem={value}
selectedItemProp={'key'}
labelProp={'name'}
textProp={'name'}
onItemSelect={(item) => {
setFieldValue('accountsFilter', item.key);
}}

View File

@@ -27,7 +27,7 @@ export default function SelectsListColumnsBy(props) {
filterable={false}
selectedItem={value}
selectedItemProp={'key'}
labelProp={'name'}
textProp={'name'}
onItemSelect={(item) => {
form.setFieldValue('displayColumnsType', item.key);
}}