Problem/Motivation

In #3260347: Schema for views style displays are missing schema file was introduced that had some wrong settings which caused options in Bootstrap Tables to not apply. Those options are:

  1. Striped
  2. Bordered
  3. Condensed
  4. Hover

The only option that still was applying was "Borderless" as it was missing from views_bootstrap.style.schema.yml.

Steps to reproduce

Create a Bootstrap Views Table and configure options like Striped, Bordered, Borderless, etc.

See that the settings are not being loaded and instead being converted to boolean "true" values

Proposed resolution

Update schema to match the type of data expected or change form.

I went the route of updating the config schema, using the Config Inspector module to help validate configuration.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

Updates to views_bootstrap.style.schema.yml for the Bootstrap Table options

Command icon 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

emerham created an issue. See original summary.

emerham’s picture

Status: Active » Needs review
adamcadot’s picture

Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community

Restores the Bootstrap Table functionalities.

shelane made their first commit to this issue’s fork.

  • shelane committed 4c815caa on 5.5.x authored by emerham
    Issue #3449513 by emerham: Bootstrap Table Schema styles wrong
    
shelane’s picture

Status: Reviewed & tested by the community » Fixed

Thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.