Topic: Bug in outline
dagaey free asked 1 year ago
There is a bug in the outline mechanism when adding dynamic fields.
If when you are adding the fields and initializing them, the container is hidden, and the field has a value, then when the container is shown, the label appears with a line behind it. The issue is fixed only when the field is focused.
https://mdbootstrap.com/snippets/standard/dagaey/5213352
Grzegorz Bujański staff answered 1 year ago
Hi! We looked into it and it turns out that it is not a bug related to our component.
You need to init the elements or call the update input method when our component is already visible on the page. Otherwise, it is not possible to correctly convert the width of the indentation in the border to a label. Otherwise, there is no way to check how wide the border indentation should be.
In your case, you just need to change the display style before initializing the components: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/5298562#js-tab-view
Mateusz Lazaru staff answered 1 year ago
Thanks for reporting this issue. We will take a closer look at it and try to fix the bug.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 6.2.0
- Device: desktop
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: Yes