MDBSideNavLink Link not working!


Topic: MDBSideNavLink Link not working!

Mazzilli pro premium priority asked 2 years ago

Expected behavior MDBSideNavLink must render a link with the correct destination path.

Actual behavior MDBSideNavLink render an empty "a" tag

Resources (screenshots, code snippets etc.) If I try by wrapping the component inside a react-router Link tag, I receive a validation error because I can't render an "a" tag inside another "a" tag. Moreover, your component MDBSideNavLink is not receiving the "tag" prop so I can't fix the behaviour.

Link


Wojciech Staniszewski staff commented 2 years ago

We will add the tag property in the next release. For now, you could try to add the Link component inside.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 4.0.0
  • Device: PC
  • Browser: chrome
  • OS: win10
  • Provided sample code: No
  • Provided link: No
Tags