1

How i can achieve this functionality? - that i want to restrict user to remove item from tag-field base on any condition - user can only insert new item in tag-field

Umair Shahid
  • 23
  • 1
  • 7

1 Answers1

2

You can use beforedeselect and return false for canceling the deselection.

For example:

listeners: {
  beforedeselect: function(){
    return false;
  }
}

Working example: https://fiddle.sencha.com/#fiddle/1j1k

CD..
  • 72,281
  • 25
  • 154
  • 163