User tests: Successful: Unsuccessful:
Pull Request resolves #34272 .
Set the default task control field for the User Group and Access Level edit forms to their respective save tasks.
The forms currently add an empty task control field. When the form is submitted using the Enter key, the browser's implicit form submission therefore does not provide a task for Joomla to execute, resulting in the user being redirected without the form being saved. (this is not a problem with other forms as they have multiple fields so the form doesnt submit on enter)
The User Group form now uses group.save as its default task, and the Access Level form uses level.save.
Try to create a new user group and a new access level
After entering the title press the enter key
When creating or editing a User Group or Access Level, pressing the Enter key while an input field has focus submits the form without a task value.
The form is therefore not saved and the user is redirected back to the relevant list.
Pressing Enter while creating or editing a User Group or Access Level submits the form using the appropriate save task.
User Groups use group.save and Access Levels use level.save, so the form is saved in the same way as when using the toolbar Save action.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_users |
I have tested this item ✅ successfully on bd25729
Tested with JBT
I have tested this item ✅ successfully on bd25729
Tested on 6.2.0 RC2 - with new user group and new access level. Normal Save still works
I have tested this item ✅ successfully on bd25729
Tested on 6.2.0 RC2 - with new user group and new access level. Normal Save still works
This has two successful tests please mark as RTC
| Status | Pending | ⇒ | Ready to Commit |
| Labels |
Added:
a11y
bug
PR-6.2-dev
|
||
RTC
RTC
I have tested this item ✅ successfully on bd25729
Tested with JBT
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48536.