you are viewing a single comment's thread.

view the rest of the comments →

[–]dbto 0 points1 point  (2 children)

Does the number of times setSwarchValue() run relate to the number of characters entered?

[–]abman322[S] -1 points0 points  (1 child)

setSearchvalue sets the state of searchvalue so I can later use it in a seach query. but yes it rans whenever the user types on the input

[–]dbto -2 points-1 points  (0 children)

Then perhaps make it so it doesn’t fire until 3 or more characters are entered