Merge pull request #8454 from lukzerom/select-changes-1

Select and Autocomplete select readonly when one option available
This commit is contained in:
Ben Lambert
2021-12-16 10:56:40 +01:00
committed by GitHub
7 changed files with 140 additions and 74 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/core-components': patch
'@backstage/plugin-scaffolder': patch
---
In @backstage/plugin-scaffolder - When user will have one option available in hostUrl or owner - autoselect and select component should be readonly.
in @backstage/core-components - Select component has extended API with few more props: native : boolean, disabled: boolean. native - if set to true - Select component will use native browser select picker (not rendered by Material UI lib ).
disabled - if set to true - action on component will not be possible.