payload
payload copied to clipboard
plugin-seo: Using tabbedUI with custom id makes custom id stop working
Reproduction: https://github.com/GeorgeHulpoi/payload-seo-bug
- Create a collection having a custom id.
- Add this collection to seo plugin
- Set tabbedUI equal with true.
From now, the id is no longer working, is using the ObjectId + the custom id.
@GeorgeHulpoi can you replicate this issue with tabs (unnamed) inside a payload project? I do not think this is related to the seo plugin, but more so payload itself.
@JarrodMFlesch I don't think I understand what exactly you mean. Do I have to add a single tab with random fields within?
I mean with a configuration like so:
{
type: 'tabs',
tabs: [
{
label: 'tab 1',
fields: [
{
name: 'id',
type: 'text',
required: true,
unique: true,
}
]
}
]
}
I also wanted to report this issue.
@JarrodMFlesch - How can I add the SEO field inside a tab as you mentioned it? It looks like that the seo takes a bool for tabbedUI
and thats it. Once active, it breaks the collection update (e.g. right panel data is now listed below as usual)
Also faced this problem.
To reproduce:
Products collection config with custom ID:
Reproduced this bug outside the scope of the plugin, it's related to the custom ID field being placed inside a tab (unnamed included)