A callback that is run when a selection is made by choosing one from the results dropdown or by using the tab/comma keys to add one and fires before afterSelectionAdd. It returns false or element or altered element. If false, element is not added. Example would be to run selected element against filters, for example, check if valid email.
A callback that is run when a selection is made by choosing one from the results dropdown or by using the tab/comma keys to add one and fires before afterSelectionAdd. It returns false or element or altered element. If false, element is not added. Example would be to run selected element against filters, for example, check if valid email.