Closed angrytongan closed 4 years ago
The size attribute in RadioGroup doesn't appear to affect it's size.
size
RadioGroup
Latest Chrome, 1.0.0 branch.
const { RadioGroup, } = CUI; const RadioGroupSize = () => { const xsOptions = [ 'one', 'two', 'three' ]; const xlOptions = [ 'one', 'two', 'three' ]; return { view: () => [ m(RadioGroup, { options: xsOptions, size: 'xs', }), m(RadioGroup, { options: xlOptions, size: 'xl', }), ], }; }; document.addEventListener('DOMContentLoaded', () => { m.route(document.body, '/', { '/': RadioGroupSize }); });
Fixed in v0.2.4.
The
size
attribute inRadioGroup
doesn't appear to affect it's size.Latest Chrome, 1.0.0 branch.