Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disableBulkEdit doesn't work on ui fields #8534

Closed
tpahore opened this issue Oct 3, 2024 · 3 comments
Closed

disableBulkEdit doesn't work on ui fields #8534

tpahore opened this issue Oct 3, 2024 · 3 comments
Assignees
Labels

Comments

@tpahore
Copy link

tpahore commented Oct 3, 2024

Link to reproduction

No response

Environment Info

Payload: 3.0.0-beta.107

Describe the Bug

Create any field with type: ui, add disableBulkEdit: true,
its still visible in bulk edit.

Reproduction Steps

Create a ui field like this

    {
      name: 'customUiField',
      type: 'ui',
      admin: {
        components: {
          Field: '@/components/ui/placeholders.component',
        },
        disableListColumn: true,
        disableBulkEdit: true,
      },
    }

Expected: the "Custom Ui Field" should not be visible here
Image

Adapters and Plugins

No response

@tpahore tpahore added status: needs-triage Possible bug which hasn't been reproduced yet v3 labels Oct 3, 2024
@r1tsuu r1tsuu self-assigned this Oct 3, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Oct 3, 2024
@r1tsuu
Copy link
Collaborator

r1tsuu commented Oct 4, 2024

Fixed in #8540, we disable them by default now in the bulk edit

@r1tsuu r1tsuu closed this as completed Oct 4, 2024
r1tsuu added a commit that referenced this issue Oct 4, 2024
Fixes #8534

UI fields are now excluded by default from the bulk edit view fields
options.
If you need to have the UI field there, you can provide:
```ts
admin: {
  disableBulkEdit: false
}
```
Copy link

github-actions bot commented Oct 4, 2024

🚀 This is included in version v3.0.0-beta.111

Copy link

github-actions bot commented Oct 6, 2024

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants