2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-03-11 12:45:00 +00:00

[bug] Fix boolean fields (#788)

- Use Switch field in API forms
- Retain custom tri-state filter button
- Closes https://github.com/inventree/inventree-app/issues/785
This commit is contained in:
Oliver
2026-02-28 15:47:07 +11:00
committed by GitHub
parent d45ed1f838
commit a90fdd4323
3 changed files with 29 additions and 3 deletions

View File

@@ -207,7 +207,7 @@ abstract class PaginatedSearchState<T extends PaginatedSearchWidget>
}
Map<String, dynamic> filter = {
"type": "boolean",
"type": "boolean filter",
"display_name": label,
"label": label,
"help_text": help_text,