long loading time dynamic dropdown

Kazhaam 19 Oct, 2017
Hi,

this is my setup:

I created one dropdown (D1) with fixed options. Choosing one option reloads a second dropdown (D2), with options from a read-data-event (up to 800 options). Choosing one option in D2 reloads a radio button with options from a read-data-event (4-10 options) based on D2. I did this, like it was in the demo.

Everything works, but each time i change the option in D2, it takes longer and longer to refresh the radio button and after 4 changes my browser crashes. I found that the querys, one can find in the browser analysis tab (firefox), getting more and more each time i change D2.

Did i messed up some configuration or are 800 options simply too much? I would accept a bit more loading time, but i dont get, why the querys are stacking up.

Regards,

Stefan
Max_admin 20 Oct, 2017
Hi Stefano,

Do you have the latest update 6.0.12 installed ?

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Kazhaam 20 Oct, 2017
Hi Max,

yes, 6.0.12 is installed.

Best Regards,

Stefan

PS: I also encountered the fact, that when I use a fieldset area inside a repeater area, the fieldset doesn't get the right key per iteration. It seems to get only the last key/last data item of the data array. Shall i open a new topic for that or did you know about that already?
Kazhaam 23 Oct, 2017
Hi,

I alternated the setup to a textfield with an "on: change" event reloading a radios group (some usability reasons). In the reload_radio_group event in the setup I placed custom php with my query code, returning an array which is used by the radios group.

Same problem here. More and more queries are send by the browser until it crashes. (queryresults are now much smaller).

Kind regards,

Stefan
Max_admin 24 Oct, 2017
Answer
Hi Stefan,

This was a bug but has been fixed in the newest update 6.0.13, did you apply it ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Kazhaam 26 Oct, 2017
1 Likes
Seems fine now. Thanks for the help!

Best regards,

Stefan
This topic is locked and no more replies can be posted.