Limit tags using tagInput

How to limit the number of tags by using TagInput?
3 Replies
awcodes
awcodes16mo ago
Modify the the relationship query callback.
.najibahmed
.najibahmedOP16mo ago
I need to limit it once the user keyin tags.
awcodes
awcodes16mo ago
->relationship() has a third parameter that is a callback to modify the query. Meaning you can inject the state of the field to modify the query for the results.

Did you find this page helpful?