trigger input event when input value is set