Selecting multiple options in Select FieldType

Hi, For my project i want to create a dropdown where the user can select multiple options in the select option which will be shown as a dropdown. When the user will select multiple options, a child table should be opened for the each selected option.

I am having troubles creating the same