Skip to content

Combobox with footer on the menu #977

Discussion options

You must be logged in to vote

Hi @balajimuthusubash, thanks for your question.

Unfortunately there is no concept of a footer in a Combobox at the moment. The only thing we can support accessibly is that everything you see in a combobox is an option, so that a user can navigate to it using their keyboard (if you use your up and down arrow keys you can navigate the list and make a selection).

If it's not a valid option, a user won't be able to perceive that information.

So the reason it's trying to render an empty option, is that it expects you to pass it one. It can't be null.

An easy way round this would be to manually append your instructional option to the data and give it some identifier in the JSON. Then use the o…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by SiTaggart
Comment options

You must be logged in to vote
3 replies
@SiTaggart
Comment options

@balajimuthusubash
Comment options

@SiTaggart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants