So i am using datalist but problem is it is taking also user input. So few of stackoverflow answer suggests to use pattern for that.
So actually I have a list of userIds which is retrieving from Backend API call.
So how to use pattern so that it will match only to those userIds i am retrieving from backend.
OR
if there is any other way of doing except pattern please tell.