Repository navigation
upcoming: [M3-7987] - Linode Create Refactor - Validation #10374
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
Changes from all commits
f6fa3d6
b19935d
660f42a
38a8e6c
a9220dc
88cac56
4c2679a
b89f474
08b16d7
f8e6221
fc5c248
ccf3595
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@linode/manager": Upcoming Features | ||
| --- | ||
|
|
||
| Linode Create Refactor - Validation ([#10374](https://github.com/linode/manager/pull/10374)) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,9 +32,11 @@ export const Access = () => { | |
| autoComplete="off" | ||
| disabled={isLinodeCreateRestricted} | ||
| errorText={fieldState.error?.message} | ||
| inputRef={field.ref} | ||
| label="Root Password" | ||
| name="password" | ||
| noMarginTop | ||
| onBlur={field.onBlur} | ||
| onChange={field.onChange} | ||
| placeholder="Enter a password." | ||
| value={field.value ?? ''} | ||
|
Comment on lines
32
to
42
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As a small enhancement, I wonder if it would be possible to update the validation on this field when the selected Image changes (i.e., so the validation error clears if the user deselects the image).
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch. I'll look into this edge case |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To match convention:
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm. MUI uses the style
ChipProps,LabelProps, etc...Should we do lowercase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm yeah it seems like the convention is a little inconsistent (e.g.,
textFieldProps). I'm in favor of lowerCase for all props (since I associate UpperCase with components) but I don't feel too strongly about it.