Closed hassanmehdi98 closed 4 years ago
All the props are passed through to the input element https://github.com/nkbt/react-debounce-input/blob/master/src/Component.js#L214
I don't know why yours does not. Would be good if you can reproduce it in codepen/jsbin/codesandbox (you can clone https://codepen.io/nkbt/pen/VvmzLQ?editors=0010)
Closing this issue as i passed my custom element in element
prop which caused this issue.
maxLength
prop on debounce input doesn't workI am still able to write more than 255 characters in the input field. Inspecting the element i did not found any
maxlength
property on the input from chrome inspector.