Closed bucari closed 2 weeks ago
What plain text url it outputs ? For yours {{ route(xxx) }}
Url like this https://hostname/doc/vpn/review/1
What final html/table/tr/td/a code it renders for your link attribute?
Nothing, it gives me an error
Missing required parameter for [Route: doc-review] [URI: doc/{docType}/review/{id}] [Missing parameter: id].
But this error comes from Laravel itself if you try to print that route, not specifically for table component.
No this error occurs because {id} token is not evaluated inside this {{route(...)}}, it works olny if i use a string in link parameter
There is no other way to handle this, as you are trying to use “route()” method.
For now, please use it as string. As advised on docs https://mary-ui.com/docs/components/table#click-to-navigate
Hi @robsontenorio
i have a table component where i would like to use a named route in the link property, but the {id} is not accessible