form request query wrong request - now working

This commit is contained in:
Brandon Shipley 2025-04-02 00:29:05 -07:00
parent 42f2b4f64b
commit fce8cc6b8b
Signed by: bmfs
GPG Key ID: 14E38571D8BB0DE4
1 changed files with 1 additions and 0 deletions
templates/element/Products

View File

@ -18,6 +18,7 @@ echo $this->Form->control('product_catalog_id', [
'hx-get' => $this->Url->build([
'controller' => 'ProductCategories',
'action' => 'select',
'?' => ['form' => 'product'],
0 => $productCategory ? $productCategory->product_catalog_id : '',
]),
'hx-target' => '#product_category_id',