Skip to main content
Inspiring
Sep 9, 2021 2:08 PM UTC
Answered

JS: Deselect focussed text field

Hey everyone,

 

Quick/basic question: is there a function that 'deselects' the currently focussed (text)field? I figure I can use .setFocus() as a workaround but I'm wondering if there's an out of the box option to deselect the selected field.

 

Thank you in advance for any trouble to be taken

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Sep 9, 2021 2:13 PM UTC

No, only setFocus can do it.

2 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
Sep 9, 2021 2:13 PM UTC

No, only setFocus can do it.

Translate
Inspiring
Sep 9, 2021 2:29 PM UTC

Excellent, thanks!

Translate