Skip to content

Releases: outbrain-inc/ui-select

Added select-when attribute to directive to control selection

17 Jan 11:08
Compare
Choose a tag to compare

This new attribute accepts a method that returns promise, opon selection rejection of the promise the selection will happen, Imagine this scenario for example:

changing the drop down should invoke route change, however if the route change was a form that alers the user for unsaved changes, In that case I would like to abort selection of the select