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:
agagancarczyk 2024-04-10 15:20:49 +01:00 committed by GitHub
parent 00ce3e34bd
commit ce8e925c1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -40,8 +40,8 @@ class CreateRealmRolePage {
checkNameDisabled() {
cy.findByTestId(this.#realmRoleNameInput).should(
"have.attr",
"readonly",
"readonly",
"disabled",
"disabled",
);
return this;
}

View file

@ -51,7 +51,7 @@ export const RoleForm = ({
}
},
}}
readOnly={editMode}
isDisabled={editMode}
/>
<TextAreaControl
name="description"