src: Fix user groups validation on import
The error for invalid user groups was not previously rendered on import. This fixes the issue and adds an import test to check that the error messages for all user fields get correctly rendered.
This commit is contained in:
parent
186e29fb19
commit
27da67360c
3 changed files with 46 additions and 10 deletions
|
|
@ -126,6 +126,7 @@ const UserInfo = () => {
|
|||
errors: {
|
||||
userName: stepValidation?.errors[index]?.userName,
|
||||
userSshKey: stepValidation?.errors[index]?.userSshKey,
|
||||
groups: stepValidation?.errors[index]?.groups,
|
||||
},
|
||||
disabledNext: stepValidation.disabledNext,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue