input type changed