SELECT2 PLUGIN usage | Adobe Higher Education
Skip to main content
Level 3
December 1, 2022

SELECT2 PLUGIN usage

  • December 1, 2022
  • 3 respostas
  • 980 Visualizações

Hi all,

We have a requirement where we want to use select2 plugin for our drop down requirement .

What is the correct approach to do that and handle such a scenario in aem forms with ootb fields

@mayank_gandhi Any help is appreciated

Thanks

Este tópico foi fechado para respostas.

3 Respostas

Mayank_Gandhi
Adobe Employee
Adobe Employee
December 6, 2022

@sb2512 anything specific that you are unable to achieve using OOTB select? Your options

1. Create a custom component just like site dropdown, and handle data in your own way(prefill, submit, data binding)

2. Overlay the OOTB one

3. Create a custom component and have a hidden field(OOTB) that is used to read selected dropdown data and map it further. -> My preferred way in case there is data logic

Sb2512Autor
Level 3
December 7, 2022

Thanks for the inputs...

We want to add a flag of the country in drop down field with country code....

 

@mayank_gandhi 

 

 

Mayank_Gandhi
Adobe Employee
Adobe Employee
December 9, 2022

@sb2512 that should be ok, follow the above approaches I suggested