V5.9- Resolved undefined 'inputContent' in case of date

If date field has optional text(placeholder) the code was breaking.