Skip to content

fix: field visibility and bulk edit conditions#16601

Open
deepshekhardas wants to merge 5 commits into
payloadcms:mainfrom
deepshekhardas:fix/field-visibility-and-bulk-edit-conditions
Open

fix: field visibility and bulk edit conditions#16601
deepshekhardas wants to merge 5 commits into
payloadcms:mainfrom
deepshekhardas:fix/field-visibility-and-bulk-edit-conditions

Conversation

@deepshekhardas
Copy link
Copy Markdown
Contributor

@deepshekhardas deepshekhardas commented May 13, 2026

Rebased onto latest main.

deepshekhardas added 5 commits June 2, 2026 11:49
Fields with admin.condition are silently hidden in bulk edit because siblingData is always empty when building form state. This causes conditions to always evaluate to false.

Pass skipConditionChecks: true to getFormState in EditManyDrawerContent so that conditions are skipped entirely in bulk edit context where sibling field values don't exist.

Issue: payloadcms#16336
- Fields with read: false access are now properly hidden on create-first-user screen
- Tab conditions now respect skipConditionChecks flag in bulk edit operations
@deepshekhardas deepshekhardas force-pushed the fix/field-visibility-and-bulk-edit-conditions branch from 5ca7bf8 to 593d22f Compare June 2, 2026 06:19
@JarrodMFlesch
Copy link
Copy Markdown
Contributor

@deepshekhardas Can you add a real PR description and possibly a screen recording of what this does?

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.

2 participants