select options

->visible((fn (Get $get): array => bool ($get('product_id')) {[4 => "test"]})

can someone help me in this code
Solution
->visible(fn (Get $get) => Product::find((int)$get('product_id'))?->name === 'Product Name')
Was this page helpful?