User tests: Successful: Unsuccessful:
Pull Request for Issue #46472
When creating a menu item via "save to menu" from articles or categories, the menu type is preselected on page load. But, the parent item dropdown does not have any items. This is because the parent item dropdown is populated only when a change event is fired on a menu type field. And no change event occurs when the page is loaded with a preselected menu item.
Fix: Added initialization logic to check if a menu type is already selected on page load. If yes, then the onChange function is trigerred manually.
Parent Item dropdown is empty
Parent item dropdown has the correct items
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | JavaScript Repository NPM Change |
| Labels |
Added:
NPM Resource Changed
bug
PR-5.4-dev
|
||
I have tested this item ✅ successfully on 8110997
Works as described and is very useful, thank you!
| Status | Pending | ⇒ | Ready to Commit |
RTC
| Labels |
Added:
RTC
|
||
✅ Final test before merge with JBT
npm run build:js| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-01-12 13:28:38 |
| Closed_By | ⇒ | muhme |
Thank you @hiteshm0 for your contribution. Thank you @ceford and @coolcat-creations for testing.
@richard67 I think this PR is responsible for the recent failed system tests. I haven't investigated this further yet.

@richard67 I think this PR is responsible for the recent failed system tests. I haven't investigated this further yet.
@heelc29 I think the same, but I also have not had time to investigate yet.
sorry y'all 😅
I have tested this item ✅ successfully on 9e64196
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46621.