Refactor category handling in inventory and pantry forms
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
- Introduced `_categorySearchController` and `_categoryOptions` in both `_InventoryFormDialogState` and `_PantryFormDialogState` to manage category selection more effectively. - Implemented `_flattenCategoryOptions` method to create a flat list of category options from nested category nodes. - Updated the initialization and disposal of the new controllers to ensure proper resource management. - Made minor adjustments to the PopupMenuItem definitions in `AppShell` for consistency.
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user