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
s-val:myparam="" is converted to s-val:myparam="true"
s-val:myparam=""
s-val:myparam="true"
<button type="reset" sprig s-trigger="click" s-val:myparam=""> Click me </button>
myparam should not be converted to true and should set the variable to NULL, so that variables can be un-set. Was working in v1.9
myparam
true
v1.9
The text was updated successfully, but these errors were encountered:
Thanks, this has already been addressed in putyourlightson/craft-sprig#178 (comment) and fixed in 23b2292 for the next release.
Sorry, something went wrong.
Released the fix in Sprig Core 1.1.5 which you can get by running composer update.
composer update
No branches or pull requests
Describe the bug
s-val:myparam=""
is converted tos-val:myparam="true"
To reproduce
Expected behaviour
myparam
should not be converted totrue
and should set the variable to NULL, so that variables can be un-set.Was working in
v1.9
Versions
The text was updated successfully, but these errors were encountered: