Questions tagged [dropdownchoice]

78 questions
1
vote
1 answer

wicket DropDownChoice jump to certain selection

I am using wicket DropDownChoice and my list is very long, is there a way that when i click the drop down list and then click on a character the list will jump to the first select that start with the same character
Ggdw
  • 2,509
  • 5
  • 24
  • 22
1
vote
3 answers

Symfony2 choice widget ordering of preferred_choices

I have a registration form with a country select. Most of the users are from the UK, and then a way behind them are from Ireland. The rest of the world together are a very small proportion at the moment. Therefore I would like to put UK and Ireland…
lopsided
  • 2,370
  • 6
  • 28
  • 40
1
vote
1 answer

how to add values in second dropdownchoice when i select value in first dropdownchoice?

i have two dropdownchoice,After selecting value from first dropdownchoice i need to select list of related values from database table and add this list into second dropdownchoice. Here is my sample code for reference. Give me any hint or…
user1263633
  • 289
  • 1
  • 3
  • 13
0
votes
1 answer

How to load a select choice-js with data from the database

I need to load a select choice-js with a list of countries and display the flag images. After making the Ajax request, I get a json (result.countries) and I don't know how to load the properties inside the custom html tags. Does anyone know how to…
0
votes
0 answers

symfony 6 form choice_filter application

I'm using Symfony 6 to filter an entity in a form type. My problem is 'choice_filter' , I understand documentation, I test with simple application article and category and I want a select with not all category. I would like one or more category in…
0
votes
0 answers

react component style apply after refreshing the page

In my react application. I am using a Choice JS librray for creating a multi select dropdown. Everything working fine but after enabling the routing in my application when I switch from Home to group componenet the multi value select dropdown styles…
Rabner Casandara
  • 151
  • 3
  • 18
0
votes
1 answer

How to add validation for Dropdownchoice and Checkbox in Wicket java

I have a checkbox and dropdown in a html page . On click of submit if both of them are selected , their should be a error message that any one of them should be mandatory field and asked to select one value atleast. I created a new class as as…
sharonm
  • 75
  • 6
0
votes
2 answers

Apache Wicket - How to retrieve the selected value from DropdownChoice in java

Java class : This is the method where i created the dropdownchoice object for select menu and add it to the form. In this method adding the projects list to the…
sharonm
  • 75
  • 6
0
votes
1 answer

Wicket Dropdownchoice can not change the selected value

I have two DropDownChoice component of category1 and category2. I want change the list of category2 when changing the selected value of category1. But the changed value of category1 always keep the init value when the method of…
0
votes
0 answers

How to set the width of the item list of choiceBox in javafx

I am using ChoiceBox for selecting item from item list. Here problem is that , I can't change the width of the item list. Can anyone help me ?
0
votes
2 answers

Wicket 1.8 DropDownChoice doesn't show the correct model object

I'm having an issue with DropDownChoice and its model. The HTML involved is a modal window with which the user can edit the settings of an object: the first DDC alters the list of the second when its model changes, and everything works fine. The…
il_boga
  • 1,305
  • 1
  • 13
  • 21
0
votes
3 answers

Wicket DropDownChoice read-only

I have a Wicket DropDownChoice and I am trying to avoid using Ajax methods. After the selection of a value I want the selection to be read-only and the user not be able to change it again. final DropDownChoice dropdown = new…
user10686396
0
votes
2 answers

Autocomplete DropDownChoice

I am looking for the simplest way to apply autocomplete to a wicket 8 dropdownchoice with a list of names. I just want a hint.. List list = getUsers(); final DropDownChoice dropdown = new DropDownChoice("dropdown", …
user10686396
0
votes
1 answer

How to Multichoice Options That Appears When Clicking Single Chocie in Android

I want something like this. There could be passive multichoice buttons below all of the single choices. It doesn't matter. Is that possible? Single and Multiple Choice Dialog
user10301915
0
votes
1 answer

Adding and editing select box in symfony

I am new to symfony. Trying to create an add and edit form with it. When I tried to add a select box in which the choice data is populated from database, but the select box shows only id as the value and name of option list $form =…
Ajzz
  • 340
  • 1
  • 7
  • 22