View Source Phoenix.UI.Components.SelectFilter (Phoenix UI v0.1.8)
Provides select filter component.
The SelectFilter
live component supports the following scenarios:
- When passed
uri
andparam
attrs, will automatically update query param in url on select change (Default) - When passed
on_change
anonymous function attr, will invoke function on select change - When passed
on_change
event name string attr, will trigger event at parent level upon select change