made roleName disabled instead of readOnly (#28590)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com> Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
parent
00ce3e34bd
commit
ce8e925c1a
2 changed files with 3 additions and 3 deletions
|
@ -40,8 +40,8 @@ class CreateRealmRolePage {
|
|||
checkNameDisabled() {
|
||||
cy.findByTestId(this.#realmRoleNameInput).should(
|
||||
"have.attr",
|
||||
"readonly",
|
||||
"readonly",
|
||||
"disabled",
|
||||
"disabled",
|
||||
);
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ export const RoleForm = ({
|
|||
}
|
||||
},
|
||||
}}
|
||||
readOnly={editMode}
|
||||
isDisabled={editMode}
|
||||
/>
|
||||
<TextAreaControl
|
||||
name="description"
|
||||
|
|
Loading…
Reference in a new issue