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

CuratorPicker Multiple Selection on Single Relationship #463

Open
iRaziul opened this issue Mar 29, 2024 · 2 comments
Open

CuratorPicker Multiple Selection on Single Relationship #463

iRaziul opened this issue Mar 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@iRaziul
Copy link
Contributor

iRaziul commented Mar 29, 2024

Filament Version

v3.2.61

Plugin Version

v3.5.2

PHP Version

8.3

Problem description

While using the CuratorPicker with single relation we can select multiple images while uploading and all of them are selected after upload.
Then clicking on the insert button all the images are selected to the field. (which is the issue)

We need to prevent auto-selection of multiple files while uploading files on CuratorPicker unless multiple are allowed.

You can understand better through this video (audio included and sorry for my broken English):

curator.issue.mp4

Expected behavior

If not multiple then only 1 file is allowed for selection.

Steps to reproduce

Shown in the video

Reproduction repository

No response

Relevant log output

No response

@iRaziul iRaziul added the bug Something isn't working label Mar 29, 2024
@awcodes
Copy link
Owner

awcodes commented Mar 29, 2024

Thanks for the thorough explanation and the video. Will look in to this soon.

@iRaziul
Copy link
Contributor Author

iRaziul commented Mar 29, 2024

Thanks for the thorough explanation and the video. Will look in to this soon.

Thanks for your response, Currently using maxItems(1) to prevent form submission 😌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants