Open danteissaias opened 5 months ago
I believe this can already be achieved through a combination of initialValue
for the pathname, and locking the folder, e.g.
definePathnameField({
initialValue: { current: '/blog/' },
options: { source: 'title', folder: { canUnlock: false } },
}),
Only allow blog posts to be created in
/blog
folder for example.