added datetime handling
added dropdownselect for typedChoicefields