Automatic select resolution for value filling.

This was bugging me for a long time since some of the form values mutate between input and select. fill function now knows about select tag and delegates the functionality to the appropriate function.