I have this routing path set up
params: {}
path: "/people/:people_id?/:business_id?"
In this particular example, there is no 'people_id'
to pass to the route and the 'business_id'
= '532'
. This is my code in Wappler
<button class="btn d-print-none btn-sm mb-2 btn-outline-success" dmx-on:click="browser1.goto('./people//'+business_ID_var.value)">
so when you click on the button the url looks like this (note the double forward slash which is where the 'people_id'
would normally be)
/admin/people//532
And I would like to use 'params.business_id'
at the other end but 'params.business_id'
is not returning anything.
I can only imagine that I must have some value where the 'people_id'
should be
Am I right?
Should it fail because of the way I have done it?
What should I put in the space between the two forward slashes?
Community Page
Last updated:
Last updated: