Compontent metadata form: fix issue.

There was an issue with select fields not selecting the
current field value using the values loaded from the DB.