Added setter for date in ElementWidget