Skip to content

Conversation

@bratvanov
Copy link
Contributor

Type definitions now expose the real behavior of field.admin.position.

Added a shared FieldPosition = 'main' | 'sidebar' union so both server and client typings accept the existing default 'main', and refreshed the docs to list both options, closing the gap where main already worked but failed type-checking.

This is especially useful for clarifying how to override the position of default position: 'sidebar' fields shipped by plugins back to position: 'main'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant