-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Cascading Select option is not working . #5851
Comments
help me please? |
Maybe this will help
|
For API...
For Form...
OR
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
public function brands(Request $request)
{
$brand = $request->get('q');
$brandNames = Brand_category::where('category_id', $brand)
->join('brands', 'brand_category.brands_id', '=', 'brands.id')
->get(['brands_id', DB::raw('brand_name as text')]);
log::info($brandNames);
}
Steps To Reproduce:
$form->select('catg_id', __('Category Name'))
->options(Category::all()->pluck('catg_name', 'id'))
->setWidth(4, 2)
->load('brand_id', '/admin/api/brands');
$form->select('brand_id', __('Brand Name')) ->setWidth(4, 2);
this code wise load the values we can not selecthem.
The text was updated successfully, but these errors were encountered: