Skip to content

Commit

Permalink
Tag/TagCategory forms: fix placeholder text
Browse files Browse the repository at this point in the history
Signed-off-by: Gilles Dubreuil <gdubreui@redhat.com>
  • Loading branch information
gildub committed Jul 6, 2023
1 parent 3840bec commit bd3d7c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ export const TagCategoryForm: React.FC<TagCategoryFormProps> = ({
<SimpleSelect
variant="single"
maxHeight={DEFAULT_SELECT_MAX_HEIGHT}
placeholderText={t("composed.selectOne", {
what: t("terms.color").toLowerCase(),
})}
id="type-select"
toggleId="type-select-toggle"
toggleAriaLabel="Type select dropdown toggle"
Expand Down
3 changes: 3 additions & 0 deletions client/src/app/pages/controls/tags/components/tag-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ export const TagForm: React.FC<TagFormProps> = ({ tag, onClose }) => {
<SimpleSelect
variant="single"
maxHeight={DEFAULT_SELECT_MAX_HEIGHT}
placeholderText={t("composed.selectOne", {
what: t("terms.tagCategory").toLowerCase(),
})}
id="tag-type-select"
toggleId="tag-type-select-toggle"
toggleAriaLabel="Tag Type select dropdown toggle"
Expand Down

0 comments on commit bd3d7c7

Please sign in to comment.