Closed khawarshzd closed 10 years ago
Look at the delegate methods. There's something in there to reject tokens being added.
Thanks, finally i implemented delegate. -(BOOL)tokenField:(TITokenField )tokenField willAddToken:(TIToken )token
I check the "representedObject" property of "token". If it is "nil" return "NO".
I want user to select only from menu. Only selection from menu should be tokenized. Any other string should be removed if he ends editing.