RSS Feed/News nestable & field-adder do not work together

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
29,223
Points
823

Reputation:

The field-adder js isn't compatible with the nestable javascript. This is because field-adder doesn't apply the data-increment-format attribute to the top-level element which is being cloned.

This sort of HTML structure is almost valid but data-id isn't updated so sorting doesn't work as expected.
HTML:

Code:
<div class="nestable-container" data-xf-init="nestable" data-max-depth="1" data-parent-id="">
...
<li class="inputGroup nestable-item"...

Read more

Continue reading...
 
Status
Not open for further replies.
Top