Stepper first input field auto-focus

web
mobile

Topic: Stepper first input field auto-focus

grandsoft pro asked 3 months ago

Dear Support, Is it possible to prevent the first input field inside a step getting focus automatically when navigating between steps? Thanks in advance for your help.


Mateusz Łubianka staff answered 3 months ago

Hi,

Try to use this code: $(document).ready(function () { $('.stepper').mdbStepper({ autoFocusInput: false })}); It should work.

Best,


grandsoft pro answered 3 months ago

Thank you, working fine! :) Best regards.


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.10.0
  • Device: Browser
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags