Skip to content

Checkbox Example? #33

Open
Open
@that1guy

Description

@that1guy

Bootstrap buttons perform filters as expected.

<button opt-kind ok-key="filter" ng-attr-ok-sel="{{ priceFiltered ? '' : '.hasPrice' }}" class='btn btn-default' ng-model="priceFiltered" ng-click="priceFiltered = !priceFiltered">Must have price</button>

I cannot get checkbox or option elements to work for the life of me.

<input type="checkbox" ng-model="priceFiltered" opt-kind ng-attr-ok-sel="{{ priceFiltered ? '' : '.hasPrice' }}{{ imageFiltered ? '.hasImage' : '' }}" ok-key="filter">

Can you provide an example of how to trigger filter via checkbox or option element. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions