Topic: Is there a way to render HTML inside Select secondary text?
Jordan Mack pro asked 1 year ago
I am looking to render an HTML "a" tag inside of mdb Select secondary text:
let op = new Option("Budget 123", "143"); op.setAttribute("data-mdb-secondary-text", "<a href="#">Update Budget</a>"); op.disabled = true;
html is parsed as string
Resources (screenshots, code snippets etc.)
We do not support that feature.
If you need to custom solution you can use input with dropdown and put whatever you want there. But that is not a pre-made alternative.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 6.0.0
- Device: Intel x86
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No