Add input|number validation rule