- fixed displaying proper label in the table filter dropdown;
This commit is contained in:
@@ -100,6 +100,7 @@ const AllBandiTable = () => {
|
||||
const statusFilterTemplate = (options) => {
|
||||
return <Dropdown
|
||||
value={options.value}
|
||||
valueTemplate={getBandoLabel(options.value)}
|
||||
options={statuses}
|
||||
onChange={(e) => options.filterCallback(e.value, options.index)}
|
||||
itemTemplate={statusItemTemplate}
|
||||
|
||||
@@ -174,6 +174,7 @@ const AllBandiTableAsync = () => {
|
||||
|
||||
const statusFilterTemplate = (options) => {
|
||||
return <Dropdown value={options.value} options={statuses}
|
||||
valueTemplate={getBandoLabel(options.value)}
|
||||
onChange={(e) => {
|
||||
options.filterCallback(e.value, options.index)
|
||||
const filters = { ...lazyState.filters };
|
||||
|
||||
Reference in New Issue
Block a user