form control copy classes on input event