The script to be called after a tag is removed from within the widget.
The default script name is “Remove Tag”. If you installed the script as an add-on it will be copied into the system. You can choose to edit the script that is copied over, or create your own and put that script name in instead. Different instances of the widget can call different scripts if you want.
The script parameter is the text of the tag that was added. If “pending” was typed into the entry field “pending” will be the entirety of the parameter, no JSON data formatting or anything.
The script can do whatever you need it to do based on your use case. It can update a single field in a single record, go delete a related record, update a variable, or just not do anything at all.