stop event propagation if validation failed
Merge pull request #38 from yzhang/master

Stop event propagation if validation failed.