Support collecting data for select elements #1731

Select dropdown inputs are now collected.