Skip to content

Commit

Permalink
Remove multiselect="true" attributes not recognized by eslint
Browse files Browse the repository at this point in the history
Removing the attribute didn't have any effect on how the select boxes
looked and google found nothing useful on react and multiselect.
  • Loading branch information
steinarb committed Dec 31, 2023
1 parent 9ae8543 commit 320c45f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export default function RolePermissions() {
<select
id="permissionsnotonrole"
className="form-control"
multiselect="true"
size="10"
onChange={e => dispatch(SELECT_PERMISSIONS_NOT_ON_ROLE(parseInt(e.target.value, 10)))}
value={selectedInPermissionsNotOnRole}
Expand All @@ -95,7 +94,6 @@ export default function RolePermissions() {
<select
id="permissionsonrole"
className="form-control"
multiselect="true"
size="10"
onChange={e => dispatch(SELECT_PERMISSIONS_ON_ROLE(parseInt(e.target.value, 10)))}
value={selectedInPermissionsOnRole}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function UserRoles() {
<label htmlFor="rolesnotonuser">Roles not on user</label>
<select
id="rolesnotonuser"
className="form-control" multiselect="true"
className="form-control"
size="10"
onChange={e => dispatch(SELECT_ROLES_NOT_ON_USER(parseInt(e.target.value, 10)))}
value={selectedInRolesNotOnUser}>
Expand All @@ -92,7 +92,6 @@ export default function UserRoles() {
<select
id="rolesonuser"
className="form-control"
multiselect="true"
size="10"
onChange={e => dispatch(SELECT_ROLES_ON_USER(parseInt(e.target.value, 10)))}
value={selectedInRolesOnUser}>
Expand Down

0 comments on commit 320c45f

Please sign in to comment.