We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e255833 commit 31f25f2Copy full SHA for 31f25f2
.gitignore
@@ -3,3 +3,4 @@
3
node_modules
4
.cache
5
dist
6
+storybook-static
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "react-tag-input-component",
"description": "lightweight component for tag(s) input",
- "version": "1.0.5",
+ "version": "1.0.6",
"license": "MIT",
"author": "Harsh Zalavadiya",
7
"module": "dist/react-tag-input-component.esm.js",
src/index.tsx
@@ -90,6 +90,7 @@ export const TagsInput = ({
90
}
91
setTags([...tags, text]);
92
e.target.value = "";
93
+ e.preventDefault();
94
95
};
96
0 commit comments