Clarify category selectors for manage products

This commit is contained in:
beatz174-bit
2025-11-24 07:42:50 +10:00
parent 2faeb09526
commit d01ba0079e
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -303,10 +303,11 @@ export const ManageProductsScreen = () => {
/>
<TextField
select
label="Category"
label="Filter by category"
value={selectedCategory}
onChange={(event) => setSelectedCategory(event.target.value)}
sx={{ minWidth: { sm: 180 } }}
inputProps={{ 'aria-label': 'Category filter' }}
>
<MenuItem value="all">All categories</MenuItem>
{categoryOptions.map((cat) => (
@@ -347,7 +348,7 @@ export const ManageProductsScreen = () => {
/>
<TextField
select
label="Category"
label="Add product category"
value={category}
onChange={(event) => setCategory(event.target.value)}
disabled={categoryOptions.length === 0}