fix label for template type picker
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
+8
-2
@@ -58,10 +58,16 @@ export const TemplateCategoryPicker = () => {
|
||||
|
||||
return (
|
||||
<Box pb={1} pt={1}>
|
||||
<Typography variant="button">Categories</Typography>
|
||||
<Typography
|
||||
variant="button"
|
||||
component="label"
|
||||
htmlFor="categories-picker"
|
||||
>
|
||||
Categories
|
||||
</Typography>
|
||||
<Autocomplete
|
||||
multiple
|
||||
aria-label="Categories"
|
||||
id="categories-picker"
|
||||
options={availableTypes}
|
||||
value={selectedTypes}
|
||||
onChange={(_: object, value: string[]) => setSelectedTypes(value)}
|
||||
|
||||
@@ -58,10 +58,16 @@ export const TemplateTypePicker = () => {
|
||||
|
||||
return (
|
||||
<Box pb={1} pt={1}>
|
||||
<Typography variant="button">Categories</Typography>
|
||||
<Typography
|
||||
variant="button"
|
||||
component="label"
|
||||
htmlFor="categories-picker"
|
||||
>
|
||||
Categories
|
||||
</Typography>
|
||||
<Autocomplete
|
||||
id="categories-picker"
|
||||
multiple
|
||||
aria-label="Categories"
|
||||
options={availableTypes}
|
||||
value={selectedTypes}
|
||||
onChange={(_: object, value: string[]) => setSelectedTypes(value)}
|
||||
|
||||
Reference in New Issue
Block a user