If I set multiple values for the multi combo it should accept only the values that are available in the data but accepts everything and returns it in the get value()
in this snippet I set the value for the multi combo to 15 but there is no id = 15,
but then when I get the value it returns the 15.
is there a way to only accept the ids available like in this example when I do a get value() I want to return only 1,2 and not the 15.
Why you declare values that doesn’t exists?
In real situation there’s not possible situation like this.
If you get data from database that item must exists there.
So your assumptions are wrong from the beginning.
You can’t buy a book that store doesn’t have, so you can’t choose it.