use constraint validation for paper-input
fix glitch if input does not follow input type