How to prevent focus for canRevealPassword on Fluent UI?

Viewed 20

enter image description here

I have a login page. I am using the Fluent UI TextField component. After I press Tab, I want to focus Login button -which is under Password TextField-, but this component focuses canRevealPassword icon instead of the login button. Is there a way to prevent this action?

I tried tabIndex but didn't work.

https://developer.microsoft.com/en-us/fluentui#/controls/web/textfield

0 Answers
Related