fix(directive): invalid input should remain in input
chore(version): v1.2.1