Skip to content

Instantly share code, notes, and snippets.

View BrianLitwin's full-sized avatar

Brian Litwin BrianLitwin

View GitHub Profile
1) don't allow a user to click out of the modal when with invalid text (on-click nil)
2) don't allow a user to finalize a doc w/ invalid input (on-click nil)
3) don't show a "please select an existing item" error when All Strategies selected (update spec (if optional .. ))
4) don't show 1 filter selected if user is typing ?
-> (if on-clear (on-clear) (on-click) ... but see below
5) don't show 1 filter selected or weirdness when you click outside the dropdown ...
-> what happens when you click outsided the dropdown? What's called?
update the :on-click methods and possibly the same for asset_tab's dropdown - rm on-clear