[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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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,