**Issue** the `max-length` property is not valid for input type `number`. <img width="1372" alt="Screenshot 2022-05-19 at 09 38 45" src="https://user-images.githubusercontent.com/9551929/169259599-a51cac67-323c-4e18-89fa-1c0a44d03438.png"> **Solution** Something like this (just an idea). ``` const textInputs = ['email', 'password', 'search', 'tel', 'text', 'url']; let maxLength = null if (textInputs.includes(input.type)) { maxLength = 'existing logic here' } ```