Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Remove' does not appear #5

Open
huglester opened this issue Mar 12, 2014 · 1 comment
Open

'Remove' does not appear #5

huglester opened this issue Mar 12, 2014 · 1 comment

Comments

@huglester
Copy link

Hello

I have basically the form like in the example readme.
But when I press +, for get duplicated, I see + and - on the last item, but the first item does not get the '-' sign, so basicly I can't remove first element..

Maybe it is the settings issue?

Thanks

@wfe8006
Copy link

wfe8006 commented May 31, 2015

First element is configured to be hidden by default:

        if (!$btnRemove.length) {
            $btnRemove = $('<button type="button" name="rBtnRemove" class="' + $container.opts.btnRemoveClass + '" style="display:none" />')
            $btnRemove.appendTo($container);
        } else {
            // default hidden
            $btnRemove.hide();
        }

You comment it out if you want to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants