If there is nothing to choose in the 'Add component' dialog (when there is only one available component):
- make the select field disabled, so that it's clear to the user that there is nothing to select.
When adding a component to a page, previously (< 6.2) If there was only one available component type, then the "Add Component" dialog would be skipped. This made for efficient adding of a component.
Now in 6.2.2 https://jira.magnolia-cms.com/browse/PAGES-307 implements that at least the single component is selected i the select field. However a user does not know that it is the only component, so they may still go to that select, only to discover that there is only one option.