updated to set the control value from the model on initialisation and force undefined and null values to be converted to an empty string in the control