Skip to content

Commit 7bedde3

Browse files
committed
feat: migrate back to old fields due to incompatibility to 6.6
1 parent 5c5f76c commit 7bedde3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/Resources/app/administration/src/core/modules/sw-settings-basic-information/component/sw-settings-captcha-select-v2/sw-settings-captcha-select-v2.html.twig

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
>
2222
{{ $tc('sw-settings-basic-information.captcha.altchaCaptchaDescription') }}
2323
</p>
24-
25-
<mt-password-field
26-
v-model="currentValue.altchaCaptcha.config.secretKey"
24+
<sw-password-field
25+
type="password"
26+
v-model:value="currentValue.altchaCaptcha.config.secretKey"
2727
name="altchaCaptchaSecretKey"
2828
:label="$tc('sw-settings-basic-information.captcha.label.altchaCaptchaSecretKey')"
2929
/>
@@ -34,37 +34,37 @@
3434
:options="captchaModeOptions"
3535
/>
3636

37-
<mt-switch
38-
v-model="currentValue.altchaCaptcha.config.whitelistCustomers"
37+
<sw-switch-field
38+
v-model:value="currentValue.altchaCaptcha.config.whitelistCustomers"
3939
name="altchaCaptchaWhitelistCustomers"
4040
:label="$tc('sw-settings-basic-information.captcha.label.altchaCaptchaWhitelistCustomers')"
4141
bordered="true"
4242
/>
43-
<mt-switch
44-
v-model="currentValue.altchaCaptcha.config.hideFooter"
43+
<sw-switch-field
44+
v-model:value="currentValue.altchaCaptcha.config.hideFooter"
4545
name="altchaCaptchaHideFooter"
4646
:label="$tc('sw-settings-basic-information.captcha.label.altchaCaptchaHideFooter')"
4747
bordered="true"
4848
/>
49-
<mt-switch
50-
v-model="currentValue.altchaCaptcha.config.hideLogo"
49+
<sw-switch-field
50+
v-model:value="currentValue.altchaCaptcha.config.hideLogo"
5151
name="altchaCaptchaHideLogo"
5252
:label="$tc('sw-settings-basic-information.captcha.label.altchaCaptchaHideLogo')"
5353
bordered="true"
5454
/>
55-
<mt-switch
56-
v-model="currentValue.altchaCaptcha.config.floating"
55+
<sw-switch-field
56+
v-model:value="currentValue.altchaCaptcha.config.floating"
5757
name="altchaCaptchaFloating"
5858
:label="$tc('sw-settings-basic-information.captcha.label.altchaCaptchaFloating')"
5959
bordered="true"
6060
/>
61-
<mt-switch
62-
v-model="currentValue.altchaCaptcha.config.invisible"
61+
<sw-switch-field
62+
v-model:value="currentValue.altchaCaptcha.config.invisible"
6363
name="altchaCaptchaInvisible"
6464
:label="$tc('sw-settings-basic-information.captcha.label.altchaCaptchaInvisible')"
6565
:helpText="$tc('sw-settings-basic-information.captcha.helpText.altchaCaptchaInvisible')"
6666
bordered="true"
6767
/>
6868
</mt-card>
6969
</sw-container>
70-
{% endblock %}
70+
{% endblock %}

0 commit comments

Comments
 (0)