Limit tags using tagInput

How to limit the number of tags by using TagInput?
3 Replies
awcodes
awcodes15mo ago
Modify the the relationship query callback.
.najibahmed
.najibahmedOP15mo ago
I need to limit it once the user keyin tags.
awcodes
awcodes15mo 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.
Want results from more Discord servers?
Add your server