Problem/Motivation
The template setting says:
"Enable to exclude this template from the list of formatters on the various places site-wide. Do not forget to reference it on the main template's form."
What abolutely makes sense, because it will result in a JS error when a breakpoint template is choosed in a swiper formatter.
Steps to reproduce
1. Create a template plus connected breakpoint templates
2. Configure a view with the swiper display plugin or a entity reference field with the swiper formatter
3. See the breakpoint templates listed in the template select
Proposed resolution
Hide the breakpoint templates in the formatters template select.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| firefox_m5XdDLWqCZ.png | 54.29 KB | thomas.frobieter | |
| firefox_SaywQLBvUW.png | 16.72 KB | thomas.frobieter | |
| firefox_iJ693jmjU0.png | 62.54 KB | thomas.frobieter |
Issue fork swiper_formatter-3572744
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
thomas.frobieterComment #4
thomas.frobieterOkay, that was a very simple fix ;) Works for me. Please review.
Comment #5
anybodyThanks, I'd say that is indeed a bug and a very simply fix. RTBC.
Comment #6
bbu23Hey guys, thx for reporting this issue and proposing a solution!
We'll review as soon as we get the chance.
I think it's a bit of a rush to immediately set it to RTBC, but I'll count u in with "+1 RTBC".
Comment #7
anybody@bbu23 thanks. RTBC (by community) is not RTBM (by maintainer), so I think this is absolutely okay.
It's always the step BEFORE maintainer review :)
Thank you!!
Comment #8
bbu23@anybody I agree with you, it is not wrong at all, and I am aware of its meaning.
This status as described here is a judgement call, so it can be very subjective. The reason why I prefer not have the issue marked as RTBC in this situation is because I consider you two as the main author:
Thank you!
Comment #11
bbu23Thanks guys!
It will be included in 2.1.0 for now.
Comment #12
bbu23