project_mern_memories icon indicating copy to clipboard operation
project_mern_memories copied to clipboard

Tags not accepting

Open sudhakargitme opened this issue 3 years ago • 3 comments

When a tag value is given while creating the memory , and tab is clicked the tag values entered are not persisted and becomes empty.

sudhakargitme avatar Jun 03 '21 16:06 sudhakargitme

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

ghostship04 avatar Jun 10 '21 11:06 ghostship04

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.

alejandro-alcaide avatar Jun 25 '21 01:06 alejandro-alcaide

Thanks @alejandro-alcaide . Tags were working after I press enter

VibhuGautam avatar Jul 10 '21 06:07 VibhuGautam