-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: 7.3.5 CE GA6
-
Fix Version/s: None
-
Component/s: Fragments Toolkit
-
Labels:None
I created my own "Tabs"-fragment to have control over it, but it breaks everytime I redeploy it. Steps to reproduce:
- Create Fragment with liferay-js-toolkit.
- Add the "Tabs"-fragment-code to the custom fragment
- Deploy it (npm run import)
- Place it on a page
- Configure the titles of the fragment
- Deploy it again
- See how it's broken now
TIn the view it still can be rendered, but the tab-titles are back to the default one.
I don't know if it's in combination with autopropagation of fragment but yes I have that active.
I think the problem has something to do that the repetition id won't get resolved before rendering. This one:
data-lfr-editable-id="title${i+1}"
BTW I had the same problem with the custom heading-fragment. There the tag h1-h6 are dynamic, but solved it there with writing out each h1-h6 and make 6 if.