appsmithorg / appsmithorg/appsmith

[Feature] Use JS to focus on input widgets

Open
#4,874 32 comments 17 reactions 1 assignee Assigned to @satbir121 View on GitHub
Enhancement Javascript Product JS Evaluation Query & JS Pod Query Widgets & IDE Pod Widget setter method
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

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](https://app.frontapp.com/open/top_5jyto)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.