mdbInput missing autofocus attribute

Topic: mdbInput missing autofocus attribute

digitalmanagerguru pro asked 11 months 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 11 months ago

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

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



Magdalena Dembna staff premium answered 9 months 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: No
  • Technology: Vue
  • MDB Version: 6.0.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: No