Skip to content

[Bug]: Default value isn't working for radio boxes in a form #2041

@sanderandreas

Description

@sanderandreas

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi guys,

The default value of a radio button does not work when it is part of a form. The editor displays it correctly, but in the preview it is only visible for a second when loading and then disappears again!

If the radio button is outside a form, there is no problem!

Regards,
Andreas

Expected Behavior

One option is preselected!

Steps to reproduce

Add a new form to the board. After that add a radio button to the form. Set default value to 1 (1 or "1" makes no difference) => Preview, no option is preselected!

Environment

Ubuntu 24.04.3 LTS, latest docker, Lowcoder 2.7.4

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions