Added directive to change type of property value input based on selected datatype.