Merge pull request #17173 from FredericKayser/fix/picker-check-by-text
catalog: make text of picker clickable
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
---
|
||||
|
||||
Fixed bug in catalog filters where you could not click on the text to select a value.
|
||||
+1
@@ -40,6 +40,7 @@ export const EntityAutocompletePickerOption = memo((props: Props) => {
|
||||
<FormControlLabel
|
||||
control={<OptionCheckbox selected={selected} />}
|
||||
label={label}
|
||||
onClick={event => event.preventDefault()}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
@@ -120,6 +120,7 @@ export const EntityLifecyclePicker = (props: { initialFilter?: string[] }) => {
|
||||
checked={selected}
|
||||
/>
|
||||
}
|
||||
onClick={event => event.preventDefault()}
|
||||
label={option}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -121,6 +121,7 @@ export const EntityOwnerPicker = () => {
|
||||
checked={selected}
|
||||
/>
|
||||
}
|
||||
onClick={event => event.preventDefault()}
|
||||
label={option}
|
||||
/>
|
||||
)}
|
||||
|
||||
+1
@@ -91,6 +91,7 @@ export const EntityProcessingStatusPicker = () => {
|
||||
checked={selected}
|
||||
/>
|
||||
}
|
||||
onClick={event => event.preventDefault()}
|
||||
label={option}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user