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

Create issue with belongsToMany if no option selected #231

Closed
Dmitrij-Kovrigin opened this issue Aug 10, 2023 · 2 comments
Closed

Create issue with belongsToMany if no option selected #231

Dmitrij-Kovrigin opened this issue Aug 10, 2023 · 2 comments

Comments

@Dmitrij-Kovrigin
Copy link

There is an error, when trying to create or update resource. It appears when you dont select an option.

@Dmitrij-Kovrigin
Copy link
Author

code example:
Multiselect::make('Country', 'countries')
->hideFromIndex()
->nullable()
->belongsToMany(Country::class, false),

error:
image

@Tarpsvo
Copy link
Collaborator

Tarpsvo commented Aug 10, 2023

Heya! Fixed in version 4.4.1. Sorry about that.

@Tarpsvo Tarpsvo closed this as completed Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants