mdbInput missing autofocus attribute

Topic: mdbInput missing autofocus attribute

digitalmanagerguru pro premium asked 2 years ago

I was expecting that mdbInput to have autofocus attribute, but it doesn't have :(

Would be great if you could add it.

Best regards

Magdalena Dembna staff premium commented 2 years ago

We will add it in the next release. Kind regards, Magdalena pro premium answered 2 years ago

Hi, was this added in the mean time? Thanks!



Magdalena Dembna staff premium answered 2 years ago

Yes, it was added some time ago. Just add autofocus prop to your component:

<mdb-input type="text" autofocus label="Input text" v-model="inputValue"/> 

Kind regards, Magdalena

Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: 6.0.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: No