Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #24073
Closed
Open
Issue created Sep 24, 2017 by Administrator@rootContributor

[BS 4.0.0-beta] Collapse parent option expects only a string

Created by: julianxhokaxhiu

Hi all,

I was trying to use the new Boostrap 4.0.0 Beta and until know I must say I am very satisfied, looks great and everything is much better compared to 3.x :)

Although I think I found a bug, or maybe a regression regarding the Collapse component, compared to Bootstrap 3.x


Bootstrap 4.x

Test case: http://jsbin.com/yomagujacu/edit?html,js,output Expected outcome: The collapse just works. Current result: The collapse fires this error once the page is loaded:

Uncaught Error: COLLAPSE: Option "parent" provided type "element" but expected type "string".

Report:

  • Operating system: Windows 10 10.0.15063 x64
  • Browser: Google Chrome 61.0.3163.100 (Official build) (64 bit) (cohort: 61_Win_100)

Bootstrap 3.x

Test case: http://jsbin.com/vufuhafuki/edit?html,js,output Expected outcome: The collapse just works. Current result: The collapse just works.

Report:

  • Operating system: Windows 10 10.0.15063 x64
  • Browser: Google Chrome 61.0.3163.100 (Official build) (64 bit) (cohort: 61_Win_100)

Thank you and best regards, Julian

Assignee
Assign to
Time tracking