DropDown - Remote Function - init Value

jQuery UI Widgets
Post Reply
Jomikel
Posts: 1
Joined: 19 Feb 2019, 09:54

19 Feb 2019, 10:30

Hi Community.

I have built a DropDown which is a exact copy of the example "Remote Data" from the showcase.
After loading the page, i have my DropDown with all of the data from remote. Because the user must choose an option, i doesn't have an empty value or some such.
All seems ok, but if the user doesn't trigger the change event, the method getSelectedValue returns no value. (I remember that the ComboBox looks like that an option is choosed (first option))
I think i can use method "selectValue" after initialzing the ComboBox with the remote data, but i wonder that there is no other (easier) way?

But maybe i doesn't understand the correct way. ;)

I look forward to hearing from you soon.

Post Reply

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests