Disable client side search when server side search is enabled in table widget
This commit is contained in:
parent
10b8cdc32a
commit
e96fa63f6d
|
|
@ -360,7 +360,10 @@ export default {
|
|||
},
|
||||
};
|
||||
|
||||
const searchKey = props.searchText ? props.searchText.toLowerCase() : "";
|
||||
const searchKey =
|
||||
props.searchText && !props.onSearchTextChanged
|
||||
? props.searchText.toLowerCase()
|
||||
: "";
|
||||
|
||||
const finalTableData = sortedTableData.filter((item) => {
|
||||
const searchFound = searchKey
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user