When a user clicks "Remove" on a row and the current row count equals #min_items + 1 (i.e., removing would reach the minimum), the element displays a spurious blank trailing row on the next AJAX rebuild.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

facine created an issue. See original summary.

  • facine committed 6b4649ad on 1.x
    fix: #3590245 Fix phantom blank row after remove at #min_items boundary
    
facine’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.