UI for dynamically adding multiple values like the LinkedIn skills section in Grails

StackOverflow https://stackoverflow.com/questions/21639186

  •  08-10-2022
  •  | 
  •  

質問

I have recently started developing web applications using Grails. I just wanted to know how can I convert the multi-selection list provided by Grails scaffolding for many-to-many relations (where you hold Ctrl to add multiple values), to something where I add one value at a time and it has a X to remove the added value and a + to add more. Something similar to the skills section of LinkedIn or the way we add tags in StackOverflow while asking questions.

LinkedIn Skills section

役に立ちましたか?

解決

I would keep the multi-select boxes as they are provided by Grails, but would then use Chosen (a javascript library) to make them nicer.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top