input directive changes