mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-26 18:44:56 +03:00
removed hyphens from tags
This commit is contained in:
parent
0af771dd58
commit
6d49bc7818
@ -475,7 +475,7 @@ export const Tag = ({
|
||||
const _handleChange = (e) => setValue(e.target.value.toLowerCase());
|
||||
|
||||
const _handleKeyPress = (e) => {
|
||||
let regex = /[a-z0-9\s-]/i;
|
||||
let regex = /[a-z0-9\s]/i;
|
||||
|
||||
if (e.key === "Enter" && value.length) {
|
||||
_handleAdd(value);
|
||||
|
Loading…
Reference in New Issue
Block a user