project_mern_memories
project_mern_memories copied to clipboard
Tags not accepting
When a tag value is given while creating the memory , and tab is clicked the tag values entered are not persisted and becomes empty.
I'm also facing the same issue. I'm tag field isn't accepting any value. Could someone please help me with this issue? @adrianhajdin
Short Answer: Type the text and then press Enter to create the tags.
Long one: It would be very helpful if you mentioned more details, guys. First the component you are testing -in this case, the Form.js file. Also, which version are you using? Maybe you wrote all the code, maybe you took the <Part 1 and 2 code> branch or the <Part 4> one. There are many possibilities.
As of now, the video tutorial for Part 4 of the building process has been out for a month and your comments are more recent. I am going to assume this is the last you watched.
Now, I just cloned Adrian's branch 4, ran it and tested this. Just as you said, if you write text and then lose focus, it disappears. But if you check the code on the branch, the ChipInput component has been added to the Create form just as it is now part of the Search one.
Thanks @alejandro-alcaide . Tags were working after I press enter