We have a problem that we want to solve in the most intuitive way.
There is a modal with one text input, but the requirements are for user to be able to put one OR multiple email in it. This is needed to send invites for those emails. Also for each email there should be a way to add a "role" before sending the invite.
Initially i was thinking that it can be the format of "inout - dropdown" and "+" or "add" below it so you put email, select the role and then tap "Add" if you need add more. It results in the same input - dropdown row rendering below the previous row and you just fill the list as long as you want.
But the product owner requires that user should be able to paste up to 25 emails separated by comma and you should be able to pick the role to each one before sending invites.
I proposed to put the instruction in the first input placeholder, like "Put one or multiple email seprated by comma" and as soon as they copypaste their email or start typuing and put ", " sequence, we gonna automatically add a new row.
What is the best way to handle it?
