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
dyn_if
I often only want to show something in the true condition, but the dyn_if function has three arguments:
true
The false case should probably either be an Option type, or there should be a helper function that is just empty html.
false
Option
Currently I'm doing:
.dyn_if(|| condition, || ..., || fragment([]) as a workaround.
.dyn_if(|| condition, || ..., || fragment([])
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I often only want to show something in the
true
condition, but thedyn_if
function has three arguments:The
false
case should probably either be anOption
type, or there should be a helper function that is just empty html.Currently I'm doing:
.dyn_if(|| condition, || ..., || fragment([])
as a workaround.The text was updated successfully, but these errors were encountered: