Added event onchange input to callback of widget