Select2_from_ajax automatically clears the selection when is not Validate Form. #760
Replies: 3 comments 3 replies
-
Hey @ngthanhluan1505 thanks for the report 🙏 I am guessing the problem may be with the "dependencies". Also, what kind of relation is Cheers |
Beta Was this translation helpful? Give feedback.
-
This is my
|
Beta Was this translation helpful? Give feedback.
-
We haven’t heard back from you in a while, so we’re closing this issue for now. If you still need assistance, please don’t hesitate to reopen the issue or create a new one. Thank you, and take care! Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I submit a Form has Select2_from_ajax. It auto clears my selection if Other form fields is not valid. How to fix it?
`
CRUD::addfield([
'name' => 'lead_id',
'label' => "Lead User",
'type' => 'select2_from_ajax',
'wrapper' => [
'class' => 'form-group col-md-6'
],
'placeholder' => '選択してください',
'entity' => 'leadUser',
`
Beta Was this translation helpful? Give feedback.
All reactions