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
|default
I have a whole bunch of templates that rely on the "empty resolves to false" behavior. Specifically setting some HTML class attribute defaults
class="{{height|default:'h-5'}} {{width|default:'w-5'}} {{color|default:'text-blue-500'}}"
Just wondering if you have any suggestions on
I like the other protections from gotchas that fastdev provides, just this one little nuance that has me disabling it for now 😞
The text was updated successfully, but these errors were encountered:
I suggest always send those variables to the template. Presumably as None.
Sorry, something went wrong.
No branches or pull requests
I have a whole bunch of templates that rely on the "empty resolves to false" behavior. Specifically setting some HTML class attribute defaults
Just wondering if you have any suggestions on
I like the other protections from gotchas that fastdev provides, just this one little nuance that has me disabling it for now 😞
The text was updated successfully, but these errors were encountered: