Now you can use v-model directive, :model-value prop, and @update:model-value (@update:modelValue) event in all data input components to have compatibility with v9 in the future.
<!-- Only v8 (Vue 2) -->
<NcTextField :value.sync="username" />
<!-- Compatible with both v8 (Vue 2) and v9 (Vue 3) -->
<NcTextField v-model="username" />
<!-- same as -->
<NcTextField :model-value="username" @update:model-value="username = $event" />
If you already use v-model with a custom writable computed on :value.sync components before, it might not work as expected anymore. Make sure to remove or adjust it before update.
See the full list in v9 breaking changes.
🚀 Enhancements
feat: add v-model support for input-like components #5418 (kyteinsky)
feat: forward compatibility with v9 on v-model props/events #6172 (ShGKme)
feat(NcRichText): add styles to mount point for custom picker and custom widget elements #6108 (julien-nc)
feat(NcRichText): make interactive widgets opt-in #6151 (Antreesy)
feat: add isDarkTheme functions and composables #5698 (ShGKme)
Now you can use v-model directive, :model-value prop, and @update:model-value (@update:modelValue) event in all data input components to have compatibility with v9 in the future.
<!-- Only v8 (Vue 2) -->
<NcTextField :value.sync="username" />
<!-- Compatible with both v8 (Vue 2) and v9 (Vue 3) -->
<NcTextField v-model="username" />
<!-- same as -->
<NcTextField :model-value="username" @update:model-value="username = $event" />
If you already use v-model with a custom writable computed on :value.sync components before, it might not work as expected anymore. Make sure to remove or adjust it before update.
See the full list in v9 breaking changes.
🚀 Enhancements
feat: add v-model support for input-like components #5418 (kyteinsky)
feat: forward compatibility with v9 on v-model props/events #6172 (ShGKme)
feat(NcRichText): add styles to mount point for custom picker and custom widget elements #6108 (julien-nc)
feat(NcRichText): make interactive widgets opt-in #6151 (Antreesy)
feat: add isDarkTheme functions and composables #5698 (ShGKme)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will merge this PR once CI passes on it, as requested by @nextcloud-command.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @nextcloud/vue from 8.19.0 to 8.20.0.
Release notes
Sourced from
@nextcloud/vue
's releases.Changelog
Sourced from
@nextcloud/vue
's changelog.Commits
35653ce
Merge pull request #6175 from nextcloud-libraries/chore/v8.20.02163eeb
chore: prepare v8.20.0 release3245f8c
Merge pull request #6195 from nextcloud-libraries/feat/add-spawn-dialog23cabb6
feat: AddspawnDialog
functioncc61bbd
Merge pull request #6201 from nextcloud-libraries/translations_ef429a9836fb49...1910118
Merge pull request #6206 from nextcloud-libraries/dependabot/npm_and_yarn/foc...7151cd6
chore(deps): Bump focus-trap from 7.6.0 to 7.6.16ca21ba
fix(l10n): Translate l10n/messages.pot in ar1e0c34e
fix(l10n): Translate l10n/messages.pot in ar043003a
fix(l10n): Translate l10n/messages.pot in arDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will merge this PR once CI passes on it, as requested by @nextcloud-command.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show