Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Queestion] Select2 theme options #664

Open
lenamtl opened this issue Aug 12, 2022 · 1 comment
Open

[Queestion] Select2 theme options #664

lenamtl opened this issue Aug 12, 2022 · 1 comment

Comments

@lenamtl
Copy link

lenamtl commented Aug 12, 2022

Hi,

Is there a way to add these theme options to Select2 / Yadcf.
I'm using Select 2 on my forms and I would like to make the one from Yadcf form more uniform.
I have tried to add these into select_type_options but it does not change the template, I will check in Yadcf CSS maybe there is conflict.

//BS5
theme: "bootstrap-5",
					
containerCssClass: "select2--small", // For Select2 v4.0
selectionCssClass: "select2--small", // For Select2 v4.1
dropdownCssClass: "select2--small",

I'm using externally trigger, BS5 and Select2 4.1.0-rc.0

@vedmack
Copy link
Owner

vedmack commented Aug 29, 2022

Please provide a test page like jsfiddle so it will be possible to test your request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants