Skip to content

[Question] A way to include a field that is not dirty and Kobalte Radio woes #266

Open
@Nyloth9

Description

I have a radio component with three options; A, B and C. A is the default value. A feature I would like, or maybe I'm missing something that exists, is; I would like to include the radio in the submitted values even if the user did not change the radio value and it remained the default "A". I don't want do this with a global shouldDirty flag on the form, as I very much the behavior of only including the dirty values - except in the case of the radio input. So basically is there something like a shouldDirty flag just for the specific field or some workaround i could use for it to behave as i described?

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions