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

Fix Inertia Controllers @return tag and Inertia Vue Input Component #112

Merged
merged 4 commits into from
Dec 23, 2021

Conversation

thewebartisan7
Copy link
Contributor

@thewebartisan7 thewebartisan7 commented Dec 23, 2021

  • Fix correct @return tag for Inertia response

  • Fix Inertia vue Input component autofocus. The method focus() doesn't work. With this change the method is called if input has attribute "autofocus" on mounted.

@thewebartisan7 thewebartisan7 changed the title Fix correct @return tag for Inertia response Fix Inertia Controllers @return tag and Inertia Vue Input Component Dec 23, 2021
@taylorotwell
Copy link
Member

I probably need to look at that autofocus thing separately.

@taylorotwell taylorotwell merged commit 627f2d0 into laravel:1.x Dec 23, 2021
@thewebartisan7
Copy link
Contributor Author

thewebartisan7 commented Dec 23, 2021

You can see that with React works fine when you open login, register or forgot password. But not with Vue. Only if you hard refresh page work with Vue.

slimani-dev pushed a commit to slimani-dev/breeze that referenced this pull request Jan 21, 2023
…aravel#112)

* Fix correct @return tag for Inertia response

* Fix Component/Input.vue autofocus

* Update Input.vue

* Update Input.vue

Co-authored-by: Taylor Otwell <taylor@laravel.com>
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