Skip to content
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

fix: [M3-7812] Textfield input disabled styles #10231

Merged
merged 6 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10231-fixed-1708986686253.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Disabled styles for Textfield input ([#10231](https://github.com/linode/manager/pull/10231))
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const TypeToConfirmDialog = (props: CombinedProps) => {
setConfirmText(input);
}}
data-testid={'dialog-confirm-text-input'}
disabled={disabled}
expand
hideInstructions={entity.subType === 'CloseAccount'}
inputProps={inputProps}
Expand Down
6 changes: 5 additions & 1 deletion packages/manager/src/foundations/themes/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,9 +743,13 @@ export const lightTheme: ThemeOptions = {
color: primaryColors.main,
fontSize: 18,
},
'&$disabled': {
'&.Mui-disabled': {
backgroundColor: '#f4f4f4',
borderColor: '#ccc',
color: 'rgba(0, 0, 0, 0.75)',
input: {
cursor: 'not-allowed',
},
opacity: 0.5,
},
'&.Mui-error': {
Expand Down
Loading