function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MG21MG21 

ui:inputSelect Unknown Exception

I get an "UNKNOWN_EXCEPTION" error when I try to save a component after adding a ui:inputSelect component. I'm following the examples provided here: http://documentation.auraframework.org/auradocs#reference?descriptor=ui:inputSelect&defType=component (http://documentation.auraframework.org/auradocs#reference?descriptor=ui:inputSelect&defType=component" target="_blank). Are the examples incorrect?
Best Answer chosen by MG21
EnreecoEnreeco
Hi @MG21, 
I believe that the inputSelect UI component is not yet supported.
You can check all supported UI components in this URL https://[YOUR_ORG_SERVER].lightning.force.com/auradocs/reference.app#reference?descriptor=ui:inputText&defType=component .
I usually create an HTML SELECT component and manually handle all its events.
--
May the Force.com be with you!

All Answers

Marty C.Marty C.
Hello, MG21, if you're copying and pasting the code directly from the documentation page, one problem may be the syntax error in the sample code, where the aura:id attribute is closed with two quotes instead of one.

ui:inputSelect syntax error with aura:id attribute

Would you paste your code as-is if you need further help troubleshooting the exception?
EnreecoEnreeco
Hi @MG21, 
I believe that the inputSelect UI component is not yet supported.
You can check all supported UI components in this URL https://[YOUR_ORG_SERVER].lightning.force.com/auradocs/reference.app#reference?descriptor=ui:inputText&defType=component .
I usually create an HTML SELECT component and manually handle all its events.
--
May the Force.com be with you!
This was selected as the best answer
MG21MG21
Hello Marty, I didn't copy it and I don't have an extra quote. If I change inputSelect to inputText, it saves it without any issues.

<ui:inputSelect label="Test: " aura:id="objectList" />
MG21MG21
Thanks ForceLogic.