Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add autofocus attribute to first column of "edit" and "add" views #2264

Open
rob-hills opened this issue Jul 28, 2024 · 0 comments

Comments

@rob-hills
Copy link

Add and Edit model views generated by Flask-AppBuilder require the user to click on the first edit field of each form to move the focus there. Ideally the focus should automatically jump to the first field on the form.

The simplest fix for this would be to add an "autofocus" attribute to the first field on the form.

A nice-to-have extra feature would be two new attributes: "first_add_column" and "first_edit_column" that enabled the developer to specify (or override) which column on the respective forms was given the "autofocus" attribute.

@rob-hills rob-hills changed the title New Feature: Add autofocus attribute to first column of "edit" and "add" views Feature Request: Add autofocus attribute to first column of "edit" and "add" views Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant