-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugBug reportsBug reports
Description
Hello!
Radio buttons can have different values AFAIK, but on the core code I can see the property "value" with Boolean type. https://github.com/DivanteLtd/vue-storefront/blob/19618fc3fa89d08651b1708bb4f044e1823ef45c/core/components/blocks/Form/BaseRadiobutton.js#L8
And it is used for attribute "checked" in https://github.com/DivanteLtd/vue-storefront/blob/19618fc3fa89d08651b1708bb4f044e1823ef45c/src/themes/default/components/core/blocks/Form/BaseRadiobutton.vue#L8
Is it a bug or there is some specific logic?
I guess BaseRadiobutton should have "checked" and "value" separately, what do you think ?
Metadata
Metadata
Assignees
Labels
bugBug reportsBug reports