Use the Data Type in Widget and ECA