MDBinput

alirezamhd asked 2 years 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 2 years 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.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: 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
Tags
inp