Timeline for Update List field rendering after ajax update
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 27, 2020 at 12:31 | vote | accept | Marco | ||
May 26, 2020 at 17:46 | answer | added | Lodder | timeline score: 2 | |
May 26, 2020 at 15:52 | comment | added | Marco | Your are right - Component Builder used the liszt not chosen (idk why) but you are right - please add it as answer so i can set it as solved. | |
May 26, 2020 at 13:52 | comment | added | Lodder |
You should be able to trigger an update for ChosenJS using: $('#jform_identificator').trigger("chosen:updated");
|
|
May 26, 2020 at 10:49 | comment | added | Marco | i've included the created HTML AFTER ajax call added my options to the list. As you can see the options are set in the list. i need a way to "refresh" the form element after adding. to get the options "selectable" | |
May 26, 2020 at 10:48 | history | edited | Marco | CC BY-SA 4.0 |
added 866 characters in body
|
May 26, 2020 at 10:05 | comment | added | Lodder | Oh, is this a standard HTML select, or are you using ChosenJS (The library Joomla uses for fancy selects that includes a search feature) | |
May 26, 2020 at 9:27 | comment | added | Marco | yes its the right one i am updating the select list and if i check the HTML i've got the new options in the list - but in the "overlayed" div for the select it wasn't updated. and yes i could parallel also update those divs but that should not been needed i think | |
May 26, 2020 at 9:22 | comment | added | Lodder |
Are you getting any errors in the browser console? Are you sure jform_identificator is the correct ID of the element?
|
|
May 26, 2020 at 9:19 | history | asked | Marco | CC BY-SA 4.0 |