Unable to have all tabs closed, unable to disable ajax load

Created on 27 October 2020, over 4 years ago
Updated 10 December 2024, 4 months ago

Problem/Motivation

There is something not right about the admin setting for a new quick tab instance i created. If I select " No: Load all tabs on page view.
" and save the form, it gets unchecked again and doesn't save my changes. There is always a tab open despite no default tab being set.

I think there is a mismatch in the configuration where it is selecting "false" instead of "0".

This is based on an existing older instance that has the options saved as "0" from previous version of quicktabs - I think an update must have stopped the form from saving properly.

If I do a config export and compare the old with the new instance the relevant bit in old yml looks like:

renderer: quick_tabs
options:
accordion_tabs:
jquery_ui:
collapsible: 0
heightStyle: auto
quick_tabs:
ajax: '0'
hide_empty_tabs: 0
default_tab: '0'

The new one looks like:

renderer: quick_tabs
options:
accordion_tabs:
jquery_ui:
collapsible: false
heightStyle: auto
quick_tabs:
ajax: false
hide_empty_tabs: false
default_tab: 9999

Steps to reproduce

Create new quicktab instance
Select "quicktabs" as renderer.
Select " No: Load all tabs on page view." in radio for ajax setting.
Save form
Form resets, no radio is selected.

Does anyone else have this issue or is there something weird with my setup?

πŸ› Bug report
Status

Fixed

Version

3.0

Component

User interface

Created by

πŸ‡¬πŸ‡§United Kingdom gsquirrel London

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024