I have a scenario where a user can select a name from a dropdown list which will then prefill their details. They may need to add details for multiple people. So, if there are 2 people. I select a name for drop down 1, the idea would be for drop down 2 that the name selected for drop down 1 would not be available or would show as disabled in drop down 2?
I've not seen disabled options within a drop down list? Is this an established pattern?
Thanks for your help
multiple
attribute in HTML<select>
elements, which technically allows you to select 2 items from a single "dropdown". See MDN for more. That said: While that is a standard which some people will know about, I have some doubts it's the intuitive solution to your problem that's appropriate to the current day and age.