-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EuiSuperSelect] Ignores readOnly
prop
#3510
Comments
Hi @mwswindle! I noticed this too pretty recently, thank you for making an issue. The problem is that a. support the prop It's more appropriate to use the |
readOnly
prop
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
I think we should go ahead and support the
|
- Fixed EuiSuperSelect border radius with append/prepend elastic#5442 - Fixed EuiSuperSelect not respecting `readOnly` elastic#3510
* [EuiFormControlLayout] Added `isInvalid` prop which is passed through to `EuiFormControlLayoutIcon` which renders the `alert` icon in red * Passed the `isInvalid` through for some form controls - EuiFieldNumber, EuiFieldPassword, EuiFieldText, EuiSelect, EuiSuperSelect - EuiFieldSearch attempts to create a new class for the number of icons * Added a `getFormControlClassNameForIconCount` localized service for couting icons * Change className output from rendering component-specific to generic to reduce output syles * [EuiFormControlLayout] Added `isDropdown` to create and control the arrow down icon * [EuiColorPicker] Fix usage of EuiFormControlLayout to not double * [EuiSelect] & [EuiSuperSelect] Update to new EuiFormControlLayout props - Fixed EuiSuperSelect border radius with append/prepend #5442 - Fixed EuiSuperSelect not respecting `readOnly` #3510 * [EuiValidatableControl] Add `aria-invalid`
I'm developing a plugin on Kibana v7.7.0 tag, which is using elastic/eui v21.0.1.
I'm using the
EuiSuperSelect
component, which has areadOnly
prop. If I set this prop totrue
, I can see the styling of the component change, removing the shadows, but I'm still able to change the value.I have several other EUI components (such as EuiFieldText) that use the same
readOnlyState
variable, that all behave as expected.The text was updated successfully, but these errors were encountered: