-
How to select multiple values from datalist?
I have a scenario where I have to select multiple values from a html datalist which should be separated by comma “,”.
For example :- if I select “new york” from the datalist I should be able to select another state from the datalist like “New York , New Jersy”. Currently what happens is that when I select “New York” from the datalist dropdown then the dropdown shows me only the results whose text is similar to “New York” and allows me to select only one.
So I want that when I select “New York” then after selecting this value I should be able to select “New Jersy” also .
Log In to reply.