• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Input type button loses value after cloned (js FieldAdder)


Well-known member
In xenforo.js, FieldAdder function would remove input value after cloned.

$clone.find('input').val('').attr('disabled', true);
But this also removes value (which is the label) of input type button.

I think we should not remove value of input[type="button"] ?