- fixed displaying proper label in the table filter dropdown;
This commit is contained in:
@@ -124,6 +124,7 @@ const PreInstructorSoccorsiTable = ({ userId = null }) => {
|
||||
|
||||
const statusFilterTemplate = (options) => {
|
||||
return <Dropdown value={options.value} options={statuses}
|
||||
valueTemplate={getBandoLabel(options.value)}
|
||||
onChange={(e) => options.filterCallback(e.value, options.index)}
|
||||
itemTemplate={statusItemTemplate} placeholder={translationStrings.selectOneLabel}
|
||||
className="p-column-filter"/>;
|
||||
|
||||
@@ -126,6 +126,7 @@ const SoccorsiPreInstructorTableAsync = ({ userId = null }) => {
|
||||
|
||||
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