widgets: Make it possible to use TextEntry for numeric values