Add missing `reset` option for radio field
Should fix https://github.com/getkirby/getkirby.com/issues/2410
Description
This is my attempt at fixing https://github.com/getkirby/getkirby.com/issues/2410. This might not be correct as I might have misunderstood how the field properties table is generated. Hopefully it's correct.
You're right. But AFAIK we also need to unset the reset prop from select field since select field inherit from radio props.
I am wondering about two things:
- Should a radio button be resettable? The native HTML element isn't.
- If it is resettable, should the default be
true- I have doubts as this could be a larger breaking change for setups that have been build with them not been resettable.
@distantnative I would agree with you here. We don't want them to be resettable in the first place in my opinion.
@bastianallgeier That said, it's quite explicitly implemented in k-radio-input. Do we want to remove it? I'd think it would pose a breaking change.
Closing in favor of https://github.com/getkirby/kirby/pull/7385