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

Autofocus on first field - fixes #72 #141

Merged
merged 3 commits into from
Sep 27, 2016
Merged

Autofocus on first field - fixes #72 #141

merged 3 commits into from
Sep 27, 2016

Conversation

OwenMelbz
Copy link
Contributor

Fixes #72

  • By default, will focus on the first field within the form.
  • Force a field into focus using ’auto_focus’ => true within the setup()
  • disable autofocus functionality by $this->crud->disableAutoFocus()
  • can call enableAutoFocus, disableAutoFocus, getAutoFocusOnFirstField, setAutoFocusOnFirstField

@OwenMelbz OwenMelbz changed the title Autofocus on first field Autofocus on first field - fixes #72 Sep 26, 2016
@tabacitu tabacitu merged commit 9c99c9d into master Sep 27, 2016
@tabacitu
Copy link
Member

Excellent! :-) Merged, thank you!

PS. This is so so useful, can't believe we lived without this until now.

@tabacitu tabacitu deleted the field-autofocus branch September 27, 2016 10:27
This was referenced Apr 2, 2020
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

Successfully merging this pull request may close these issues.

2 participants