Skip to content

[Feature] Use JS to focus on input widgets #4874

Open
@areyabhishek

Description

Summary

Give users the ability to focus on an input widget. Something like text1.focus() would be useful.

Requirement

Title Desc Comment
New Action: FocusWidget A new action which lets user select a widget for the following options -
Focus input When the function is executed we will focus on the input element, i.e. the cursor will be active here -
Scroll to When the function is executed we will also scroll to the element positions on the viewport -

Front logo Front conversations

Metadata

Assignees

Labels

EnhancementNew feature or requestJS EvaluationIssues related to JS evaluation on the platformJavascript ProductIssues related to users writing javascript in appsmithQuery & JS PodIssues related to the query & JS PodWidget setter methodIssues with widget property setters

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions