Prevent duplicate object to save in an array #10472
Unanswered
akashramtohul4
asked this question in
CLI - PWA mode
Replies: 1 comment 2 replies
-
|
If I understand correctly, you do not want the array to be populated with every letter you type, right? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello friends ,
I have 2 inputs every time i input something i push it in an array and emits it to a parent component. the problem is each input i make create an entry in the array. i want to have only 2 entry's for each input
can someone please help
below is a sample code
https://codepen.io/akashramtohul4/pen/PojwdQN?editors=1011
Thanks
Beta Was this translation helpful? Give feedback.
All reactions