0

Trying to implement the new spring release update: enter image description here

b) The lightning-input component receives a new attribute called role, enabling the creation of accessible combo boxes. Check out the below example showcasing the creation of combo boxes:

Instead of using lightning combo-box tried using lightning-input type text and role-combobox:

this was my earlier code: enter image description here I change it to this code: enter image description here

But now my option is just displayed as a text field: Not picklist field with required fields.

What am I missing?

4
  • Can you please add your code in?
    – prem22
    Commented Feb 26 at 10:53
  • @prem22 Hi yes I had added the code but not visible due to some reason.Modified and added the screenshots. Please check.
    – Virgo27
    Commented Feb 26 at 11:02
  • 1
    I see, I actually tried implementing it too, it seems to not work, maybe they are not officially release? As the developer.salesforce.com/docs/component-library/bundle/… does not even document them. I even tried deploying by changing the component's XML version to 60.0 and sfdx-project.json version to 60.0. I only included, role, type, label and options for the lightning-input tag.
    – prem22
    Commented Feb 26 at 11:29
  • @prem22 Thanks I will wait for the update then.
    – Virgo27
    Commented Feb 28 at 14:51

0

You must log in to answer this question.

Browse other questions tagged .