We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I try to implement your sort by, I get an angular error. Filtering works fine.
<div class="btn-group" opt-kind="sortBy" ok-key="sortBy"> <button type="button" class="btn btn-default" ok-sel=".name">Name</button> <button type="button" class="btn btn-default" ok-sel="[date]" ok-type="integer">Date</button> </div>
my dataset includes items like
{ "name": "Mail Intelligence", "category": "presort", "date": "1360412309421", "url": "http://www.google.com", "username": "user@name.com", "password": "p@55w0rd", "description": "Lorem ipsum dolor sit amet consectatur adaptec ilipsing." },
but i get an error in console and the whole thing fails if I include the sort button group above.
TypeError: $elem.find is not a function
The problem is in the button itself. I can add the button group: <div class="btn-group" opt-kind="sortBy" ok-key="sortBy"></div>
<div class="btn-group" opt-kind="sortBy" ok-key="sortBy"></div>
But when I add the button itself, it dies: <button type="button" class="btn btn-default" ok-sel="[date]" ok-type="integer">Date</button>
<button type="button" class="btn btn-default" ok-sel="[date]" ok-type="integer">Date</button>
If I remove the sort button block and only keep the filter buttons, at least that part works.
The text was updated successfully, but these errors were encountered:
Having the same problem!
Sorry, something went wrong.
Sadly I am also having the same problem here. Did anybody reach any conclusions?
Changing $elem to $($elem) converts it to a jQuery object and the buttons do work now.
$elem
$($elem)
Change this on line 191 and 235
No branches or pull requests
If I try to implement your sort by, I get an angular error. Filtering works fine.
my dataset includes items like
but i get an error in console and the whole thing fails if I include the sort button group above.
TypeError: $elem.find is not a function
The problem is in the button itself. I can add the button group:
<div class="btn-group" opt-kind="sortBy" ok-key="sortBy"></div>
But when I add the button itself, it dies:
<button type="button" class="btn btn-default" ok-sel="[date]" ok-type="integer">Date</button>
If I remove the sort button block and only keep the filter buttons, at least that part works.
The text was updated successfully, but these errors were encountered: