Input Max Length React Js