Skip to content

Commit

Permalink
Merge pull request #554 from SCCapstone/postTagText
Browse files Browse the repository at this point in the history
Fix for the tag helper text showing, when there are 6 or less tags.
  • Loading branch information
epadams authored Apr 22, 2024
2 parents 3d9d8f2 + 8066e30 commit ade095d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FU.SPA/src/components/PostForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ const TagsSelector = ({ onChange, initialValues }) => {
{...params}
label="Add/Create Tags"
placeholder=""
helperText="Maximum of 6 tags"
helperText={value.length > 6 ? 'Maximum of 6 tags' : ''}
/>
)}
/>
Expand Down

0 comments on commit ade095d

Please sign in to comment.