Highlighted

Restrict user from adding new tags via TagInputField

randyn0611

16-11-2017

We make use of the xtype tags field on a page dialog and the users are able to add new tags to the default namespace via the TagInputField. Is it possible to disable creation of new tags in that widget and make it select only? Or will it be necessary to listen for an event to stop it? I've read through the documentation on the widget and nothing jumped out at me. Any pointers would be greatly appreciated!

Thanks,

Randy Nolen

Replies

Highlighted

randyn0611

16-11-2017

OK - I added a handler for the 'addtag' event and that seems to be the right place for what I want to do, but how do I interrupt the event flow? So far I've not found a way to stop the add from happening.

Thanks,

Randy