- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,420
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
You end up with:
It's because the hidden input fields that select2 use don't have names.
I didn't test it too much, but perhaps it would be more appropriate for the .find selectors inside XF.FieldAdder.create() to be
Or check if there is a name attribute before...
It's because the hidden input fields that select2 use don't have names.
I didn't test it too much, but perhaps it would be more appropriate for the .find selectors inside XF.FieldAdder.create() to be
.find('input[name*="{counter}"], select[name*="{counter}"], textarea[name*="{counter}"]')
rather than .find('input, select, textarea')
?Or check if there is a name attribute before...
نام موضوع : field-adder breaks if it contains tokeninput