[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