-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
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
data-if-XXX == "null" doesn't work #84
Comments
You can try
|
Field exists, but have null value. thanks a lot. |
I see - in the latest version of Tempo on the master branch you can now check for
Let me know if that works for you - thanks for reporting! |
latest versión of Tempo on the Master Branch ¿2.1? doesn't Works for me with same call I did with Tempo 2.0 if I change 358 line adding
in 2.0 versión works fine
but doesn't work
I will be watching next versions until it woks. Meanwhile I'm doing this conditions in SQLite querys. Regards, Ernesto. |
I'm not sure what you're suggesting here. Ideally you do this in the model/data layer. |
Originally I wanted filter JSon data, hidding those rows that had a null field using Tempo. But I can't, thus I will rewrite the way I obtain JSon data through sql query. Thanks a lot for this great job, I will use Tempo and will be alert for every changes. Ernesto. |
Strange this should work just fine now. Can you paste in some example JSON? |
Here is the code: it works fine but
Regards. |
The jsfiddle does not have a reference to Tempo so doesn't work - I will have a look at that. I can't tell you why your application doesn't work without seeing any debug information. |
This seems to work fine? http://jsfiddle.net/BmkC8/3/ |
To check for not null you would either have to use some other method of checking or we would have to add |
I can't draw template only if XXX field is null or is not null.
I've tried with next code:
<.... data-if-XXX = "null">
<.... data-if-XXX = 'null'>
<.... data-if-XXX = null>
<.... data-if-XXX = "'null'">
<.... data-if-XXX = "">
....
and negative options
<.... data-if-XXX != "null">
....
but nothing.
I really appreciate any help you can provide.
The text was updated successfully, but these errors were encountered: