editor widgets: restore handling of null values in textedit widget (fixes #10497)