No Code Attached Yet
avatar faithful-ie
faithful-ie
30 Mar 2026

All versions of Joomla (up to Joomla 5) have always explicitly shown a default category when creating a new article. In Joomla 6 the category field is empty when you create a new article (although) if you save it - the default category is indeed assigned. It would be clearer if the category were explicitly shown (like all earlier versions of Joomla)

avatar faithful-ie faithful-ie - open - 30 Mar 2026
avatar faithful-ie faithful-ie - change - 30 Mar 2026
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 30 Mar 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Mar 2026
avatar brianteeman
brianteeman - comment - 30 Mar 2026

Confirmed and agree

avatar brianteeman
brianteeman - comment - 30 Mar 2026

you need to look at what changes were made between joomla 5.4 and 6 that have created this

avatar hiteshm0
hiteshm0 - comment - 4 Apr 2026

@brianteeman
In ArticleModel::getForm(), the default catid value ( which it resolves ) is not being bound to the form field when it is opened to create a new article. But this did not happen in 5.4 either. So the bug might be due to upgrading choices.js (46133), and it previously didn't require explicitly binding the default catid to the form and it just took the first category from the category array to display default catid but now it doesn't work that way.
So the fix might be to explicitly bind the resolved default catid to the form field ( I tried and it works but I ran into some css problems so im not sure if this is the most minimal fix )

Add a Comment

Login with GitHub to post a comment