- fixed displaying proper label in the table filter dropdown;
This commit is contained in:
@@ -126,6 +126,7 @@ const DocumentsTable = ({ type, reload = 0 }) => {
|
||||
|
||||
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={__('Scegli uno', 'gepafin')}
|
||||
className="p-column-filter"/>;
|
||||
|
||||
Reference in New Issue
Block a user