title | issue | author | author_email | author_github |
---|---|---|---|---|
Make all settings module Vue3 compatible |
NEXT-29011 |
Jannis Leifeld |
j.leifeld@shopware.com |
Jannis Leifeld |
- Added
label
tosw-base-field
root element - Added manually the props
is-inheritance
andis-inherited
tosw-base-field
insw-checkbox-field
because Vue3 does not support direct access to it with thefield.mixin
- Added manual binding in
sw-number-field
tosw-contextual-field
which also includes theinheritanceAttrs
- Added manual binding in
sw-password-field
tosw-contextual-field
which also includes theinheritanceAttrs
- Added manual binding in
sw-select-field
tosw-contextual-field
which also includes theinheritanceAttrs
- Added manual binding in
sw-switch-field
tosw-contextual-field
which also includes theinheritanceAttrs
- Added manual binding in
sw-text-field
tosw-contextual-field
which also includes theinheritanceAttrs
- Added manual binding in
sw-textarea-field
tosw-contextual-field
which also includes theinheritanceAttrs
- Added manual binding in
sw-url-field
tosw-contextual-field
which also includes theinheritanceAttrs
- Changed in
sw-admin-menu
thekey
binding from component to template with loop because Vue3 want keying directly on the v-for template - Changed in
sw-admin-menu-item
thekey
binding from component to template with loop because Vue3 want keying directly on the v-for template - Changed in
sw-modals-renderer
thekey
binding from component to template with loop because Vue3 want keying directly on the v-for template - Changed in
sw-search-bar
thekey
binding from component to template with loop because Vue3 want keying directly on the v-for template - Changed the
key
for the target label insw-duplicated-media-v2
because it was identical in the v-if-else statement which leads to errors - Changed in
sw-notification-center-item
thekey
binding from component to template with loop because Vue3 want keying directly on the v-for template - Changed in
sw-notifications
thekey
binding from component to template with loop because Vue3 want keying directly on the v-for template - Changed the generic
v-model
insw-custom-field-set-detail-base
forsw-custom-field-translated-labels
tov-model:config
- Removed the
v-model
insw-settings-customer-group-detail
and replaced it with:value
because the given value was readonly and couldn't be changed anyway (also leads to hard errors in Vue3) - Changed in
sw-settings-document-detail
thekey
binding from component to template with loop because Vue3 want keying directly on the v-for template - Changed the
v-model
insw-settings-mailer
tov-model:value
- Added
<div style="display: none;">
tosw-settings-snippet-list
to fix a weird Vue3 DOM patching error - Changed
@change
to@update:value
insw-settings-tax-detail
at thesw-text-field
component - Changed in
sw-settings-tax-list
thekey
binding from component to template with loop because Vue3 want keying directly on the v-for template - Added custom warn handler in
vue.adapter
for Vue3 to fail hard on compiler errors in watch mode to have a consistent behavior between production and development mode - Changed
mediaId
property insw-media-field
tovalue
and added a computed propertymediaId
which maps thevalue
tomediaId
and emits a correct event back - Changed
v-model
insw-boolean-radio-group
tov-model:value
- Added
label
property tosw-checkbox-field
- Changed timing behavior in
sw-url-field
to match the Vue3 behavior to Vue2 - Changed timing behavior in
sw-wizard
to match the Vue3 behavior to Vue2 - Changed
$parent
emit calling insw-wizard-page
to take also the AsyncComponentWrapper into account