Editor: Focus is applied to the editor when it uses v-model even if it is not the first focus-able component #6934
Labels
Resolution: Help Wanted
Issue or pull request requires extra help and feedback
Describe the bug
When a page/component loads that includes an Editor with a value assigned via
v-model
the editor will get the focus even if other focus-able components appear before it. There appears to be no way to disable this behavior if it is not desired.Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-7vnpcgat?file=src%2FApp.vue
PrimeVue version
4.2.4
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
v-model
.Expected behavior
The Editor component does not get the focus by default. There should be a way to control if autofocusing on the Editor is desired.
The text was updated successfully, but these errors were encountered: