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

Control settings "None" on image sliders don't work #3711

Open
phit opened this issue May 14, 2024 · 2 comments
Open

Control settings "None" on image sliders don't work #3711

phit opened this issue May 14, 2024 · 2 comments
Labels

Comments

@phit
Copy link

phit commented May 14, 2024

PHP Version

N/A

Shopware Version

trunk 75ae67f

Expected behaviour

setting navigation arrows or dots for image slider or image gallery to none disables the controls

Actual behaviour

the arrows/dots stay and are no longer positioned correctly

How to reproduce

{% set navigationArrows = sliderConfig.navigationArrows.value %}

controls: sliderConfig.navigationArrows.value ? true : false,

All the output templates expect that selecting "None" sets the value to a falsey value or more specfically null.

But the settings in the administration appear to be broken, these should all be using :modelValue

<option :value="null">
{{ $tc('sw-cms.elements.imageSlider.config.label.navigationPositionNone') }}
</option>

<option :value="null">
{{ $tc('sw-cms.elements.imageSlider.config.label.navigationPositionNone') }}
</option>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants