Multiple use of LeBlender tabs editors on same page dosn't give uniques id's and href's.
Leblender Tab doesn't work as intended if you have multiple LeBlender editors on the same page, since same Id's will be used multiple places on the same page using @Model.Items.IndexOf(item). Perhaps the included examples could be upgraded by taking into account when used multiple times on the same page? (Note: I havn't tested if the problem is similar with the carousel, but probably this also applies).
Anyone who has a temporary solution for using multiple tabs editors on the same page?
For now, I just added a numeric propery to the tabs editor, and added it in Tabs.cshtml like id="[email protected]("tabEditorNo")@Model.Items.IndexOf(item)" and same with href="#[email protected]("tabEditorNo")@Model.Items.IndexOf(item)".
Now I use number 0 in all tabs in the first editor, and 1 in all tabs in the second editor and so on.
The text in id and href is just merged together here, but it gives unique IDs on the whole page.
Multiple use of LeBlender tabs editors on same page dosn't give uniques id's and href's.
Leblender Tab doesn't work as intended if you have multiple LeBlender editors on the same page, since same Id's will be used multiple places on the same page using
@Model.Items.IndexOf(item).
Perhaps the included examples could be upgraded by taking into account when used multiple times on the same page? (Note: I havn't tested if the problem is similar with the carousel, but probably this also applies).Anyone who has a temporary solution for using multiple tabs editors on the same page?
For now, I just added a numeric propery to the tabs editor, and added it in Tabs.cshtml like
id="[email protected]("tabEditorNo")@Model.Items.IndexOf(item)"
and same withhref="#[email protected]("tabEditorNo")@Model.Items.IndexOf(item)"
.Now I use number 0 in all tabs in the first editor, and 1 in all tabs in the second editor and so on.
The text in
id
andhref
is just merged together here, but it gives unique IDs on the whole page.is working on a reply...