Checkbox list chooses all the fields on create #12713
Answered
by
matijarezek
matijarezek
asked this question in
Help
-
PackageForm builder Package Versionv3.2.75 How can we help you?I have a problem with form on my user model.
So on create user, when I select one of the 'Positions' it automatically selects all of them, no matter how many there are. Is there something I am missing? |
Beta Was this translation helpful? Give feedback.
Answered by
matijarezek
May 10, 2024
Replies: 1 comment 2 replies
-
What kind of relationship is positions? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Managed to solve it.
Changed
CheckboxList::make('position_id')
toCheckboxList::make('position')
And now it works as it should. Weird.