#Preprocess newly created item in 7.0 TagsInput?

2 messages · Page 1 of 1 (latest)

worthy trellis
#

I am updating a component from using MultiSelect to TagsInput for better user experience. In the old implementation, I could use onCreate() to process the user input.

For example, when a user typed a new tag " Peter Pan!", I can clean up the input to get "Peter-Pan". However, the new TagsInput doesn't seem to have such function to preprcess a new item. Do I need to check the last item manually in onChange and update the value list there?

agile rapids