editor widgets: restore initialization of null numeric values and dates in text edit widget (followup e605ad65; fixes #10326)