using OnChange in Microsoft full stack developer