1

Trying the following markup in a template:

<lightning-radio-group 
    label="Radio Group" 
    options={options} 
    value={value} 
    type="button" 
    variant="label-hidden"></lightning-radio-group>

Will result in the following error:

Error: Unknown public property "variant" of element . This is likely a typo on the corresponding attribute "variant".

This is strange since the radio-group specifications state that this is supported.

Any ideas?

1 Answer 1

2

The variant attribute was added in summer19

When you are on playground or org < summer 19 (which should in theory not exist anymore): playground is running an older version than platform, orgs < summer19 too

When you get the error on summer19 orgs: You should contact SFDC Support - it should work

1
  • It's a shave that the playground is behind the current release. Jul 4, 2019 at 6:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .