Avatar of Courtney Whiting
Courtney Whiting
Flag for United States of America

asked on 

Removing prop() from a select option

I am attempting to add the disabled property when an option is selected to prevent users from trying to select it again and remove the property when the "X" icon is clicked.

Right now the prop removal works when only one option is added at a time but when multiple options are added the prop only gets removed off of the most recently added option.

Check JSFiddle for project

Avatar of undefined
Last Comment
Robert Schutt

8/22/2022 - Mon