Some refactoring, the drop down field now honors the readonly flag