Lesson Category-Based Lessons #1197
Replies: 2 comments
-
Hello @avinashtelsa You can try with select2_from_ajax_multiple with "include_all_form_fields" and handle from Controller search function. In any case, need to think in a way if the user change lessonCategory, what you will do with all repeatable content. Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Due to not activity, I will close this issue, but please feel free to re-open or create a new one if needed. Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I need lessons based on the selection of lessonCategory, including all quotes for the lessons. Here is my code. Thank you for being so helpful.
protected function setupCreateOperation()
{
Widget::add()->type('script')->content('js/admin/lesson_category_quotes.js');
}
lesson_category_quotes.js
crud.field('lessonCategory').onChange(function (field) {
let selectedCategoryId = field.value;
});
Beta Was this translation helpful? Give feedback.
All reactions