John Cowen bb95738321
ui: Search/filtering 'Filtered by:' search status (#9442)
Adds a 'status' for the filtering/searching in the UI, without this its not super clear that you are filtering a recordset due to the menu selections being hidden once closed. You can also use the pills in this status view to delete individual filters.
2021-01-25 18:13:54 +00:00

30 lines
670 B
Handlebars

{{yield}}
<InformedAction
class="confirmation-alert warning"
...attributes
>
<:header>
<YieldSlot @name="header">{{yield}}</YieldSlot>
</:header>
<:body>
<YieldSlot @name="body">{{yield}}</YieldSlot>
</:body>
<:actions as |Actions|>
<Actions.Action class="dangerous">
<YieldSlot @name="confirm" @params={{
block-params (component 'action'
onclick=(action @onclick)
tabindex="-1"
)
}}
>
{{yield}}
</YieldSlot>
</Actions.Action>
<Actions.Action>
<Action @for={{@name}}>
Cancel
</Action>
</Actions.Action>
</:actions>
</InformedAction>