Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MDBStretchedLink - work with Router Link

Storism free asked 5 years ago


Expected behavior

MDB Stretched Link should allow a :to attribute, it only works with HREF

Actual behavior

Link does not work

Resources (screenshots, code snippets etc.)

<mdb-stretched-link :to="{ name: 'model', params: { id: `${model.id}`, name: `${model._name}` } }" class="stretched-link">Go somewhere</mdb-stretched-link>

Magdalena Dembna staff answered 5 years ago


We will add it in the next release. Although, as the default tag is the a tag you will need to add the following line: tag="router-link". Kind regards, Magdalena


Storism free commented 5 years ago

Great - thank you. I will hang on for the implementation.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.0.1
  • Device: MacBook Pro
  • Browser: Chome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No