vuejs/devtools-v6

Pages: mishandling of navigation routes with regex pattern matching

nuno-am opened this issue · 1 comments

Vue devtools version

7.2.1

Link to minimal reproduction

N/A

Steps to reproduce & screenshots

  • Route contains a parameter with a custom regex (something like :id(\\d+))
  • On the Vue Devtools, go to the 'Pages' tab and click over the parameter for that specific route
  • A floating form will appear on the panel to fill up the parameter value
  • Fill with any given value (eg. 2) and press the 'Navigate' button
  • The app will navigate to the route .../2(/d+) which is not the desired result

Screenshot 2024-06-07 160705_

What is expected?

The regex from the route config should not be included when navigating to it from the DevTools 'Pages' tab.

What is actually happening?

Path regex pattern is included when navigating to the route.

Any additional comments?

No response

Wrong repo. Sorry for the noise :(