alirezamhd free asked 1 year ago

hi When I try to use maxlengh in the input it doesn't work unless I add a counter to it which I don't want what is the solution?

Bartosz Cylwik staff answered 1 year ago

Hi! Right now, for maxlength to work, you have to add counter prop to the input component. If you don't want the counter to be visible you can hide it with css

.form-counter {
  display: none;

Best Regards!

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: MDB5 3.2.0
  • Device: laptop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No