Not allowing new value if certain value is selected as option (multiselect)

I am trying to use multiselect but when a certain value is selected, I want the user to not be able to add a new values unless they delete the previous one. Is this possible?

For context, I am making a Post form that could make them with or without tags. I want to show them together in my homepage with Eager Loading, my solution is to add "No tags" as an actual tag (though it is not shown), so I can use "with" on my query.

So in the Post form when selecting "No tags" as tag they should not be able to add another tags.
Was this page helpful?