We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90cb328 commit edcf53bCopy full SHA for edcf53b
src/shared/components/Contentful/SearchPageFilter/FilterTags/index.jsx
@@ -66,11 +66,12 @@ export class FilterTagsInner extends Component {
66
value={inputValue}
67
onChange={(e) => { this.setState({ inputValue: e.target.value }); }}
68
onKeyDown={(e) => {
69
- if (e.key === 'Enter' && inputValue && inputValue.trim() && !isTagExist(inputValue)) {
+ if (e.key === 'Enter' && inputValue && inputValue.trim() && !isTagExist(inputValue) && tags.length <= 4) {
70
onAddNewTag(inputValue);
71
this.setState({ inputValue: '' });
72
}
73
}}
74
+ maxLength="40"
75
/>
76
<div className={theme['tag-container']}>
77
{
0 commit comments