Skip to content

Commit

Permalink
🐛 Add input text box filtering in new tag's select a tag category fie…
Browse files Browse the repository at this point in the history
…ld (#1919)

Resolves RFE https://issues.redhat.com/browse/MTA-1248

User selecting a tag category from the drop-down should also be able to
insert the input text. Instead of scrolling down and selecting from the
long list would be very much convenient for user to enter the text and
matching string gets filtered.

Signed-off-by: Karishma Punwatkar <kpunwatk@redhat.com>
Co-authored-by: Scott Dickerson <sdickers@redhat.com>
  • Loading branch information
kpunwatk and sjd78 committed May 28, 2024
1 parent e43c470 commit 562debc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/app/pages/controls/tags/components/tag-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const TagForm: React.FC<TagFormProps> = ({ tag, onClose }) => {
isRequired
renderInput={({ field: { value, name, onChange } }) => (
<SimpleSelect
variant="single"
variant="typeahead"
maxHeight={DEFAULT_SELECT_MAX_HEIGHT}
placeholderText={t("composed.selectOne", {
what: t("terms.tagCategory").toLowerCase(),
Expand Down

0 comments on commit 562debc

Please sign in to comment.