Closed
Description
Introduction
If you use radio buttons in version 0.32.0 alle buttons are marked as checked. So the last one wins
In version 0.31.0 it behaves correctly.
To Reproduce
List of steps to reproduce the behavior. Include the sql file you are using and the eventual relevant parts of your database schema
SELECT
'form' as component,
'POST' as method;
SELECT
'priority' as name,
'None' as label,
'radio' as type,
'None' as value,
2 as width,
TRUE as checked;
SELECT
'priority' as name,
'Low' as label,
'radio' as type,
2 as width,
'Low' as value,
FALSE as checked;
SELECT
'priority' as name,
'Medium' as label,
'radio' as type,
2 as width,
'Medium' as value,
FALSE as checked;
SELECT
'priority' as name,
'High' as label,
'radio' as type,
2 as width,
'High' as value,
FALSE as checked;
SELECT
'debug' as component;
SELECT
"key",
"value"
FROM
json_each(sqlpage.variables('post'));
SELECT
"version" as key,
sqlpage.version() as value;
-- END



Actual behavior
After following these steps, what happened ?
If you saw an error on the command line or inside your page, then paste it here
your error message here
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
Version information
- OS:
- Database [e.g. SQLite, Postgres]
- SQLPage Version [found when hovering the default footer of pages]:
Additional context
Add any other context about the problem here.