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
|
||
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.