Employee Card in 2 minutes

  1. Instead of the submit button, you could submit the form on mouse-up.

  2. The class of drag-item can be placed on any element. Just make sure that the form input fields reside in the same element. As an example, I could have made the column as the drag-item in which case I would have to place the input fields outside of the card, but inside the column. As you cannot place the input fields inside of an image, this means that images need to be placed in a drag-item container.

2 Likes