input doesn't inherit the attrs