ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

dropdown edit problem

emmexx 30 Mar, 2021
I found another problem updating from CC 6.0.7 to 6.0.12.

I have a form that I use to edit records from a table. The form has a multiselection dropdown field (one from the now deprecated(?) Fields tool).

In CC 6.0.7 when I reloaded a record in the form, the dropdown displayed the values previously saved.
In CC 6.0.12 the dropdown is blank (unselected).

I checked the generated html code:
​[pre]<div class="field required"><label for="categoria">Categoria</label>
<div class="ui dropdown selection multiple" tabindex="0"><select data-validationrules="{&quot;identifier&quot;:&quot;categoria-main&quot;,&quot;rules&quot;:[{&quot;type&quot;:&quot;required&quot;,&quot;prompt&quot;:&quot;campo obbligatorio&quot;},{&quot;type&quot;:&quot;minCount[1]&quot;,&quot;prompt&quot;:&quot;indicare almeno una categoria&quot;},{&quot;type&quot;:&quot;maxCount[3]&quot;,&quot;prompt&quot;:&quot;max 3 categorie&quot;}]}" data-validate="categoria-main" data-events="[]" multiple="multiple" name="categoria[]" id="categoria" data-mincharacters="0" type="select"><option value="Albergo 1 stella">Albergo 1 stella</option>
[strong]<option selected="selected" value="Albergo 2 stelle">Albergo 2 stelle</option>[/strong][br]<option value="Albergo 3 stelle">Albergo 3 stelle</option>[br]<option value="Albergo 4 stelle">Albergo 4 stelle</option>[br]<option value="Albergo 5 stelle">Albergo 5 stelle</option>[br]<option value="Agriturismo">Agriturismo</option>[br]<option value="Bed and Breakfast">Bed and Breakfast</option>[br]<option value="Affittacamere">Affittacamere</option>[br]<option value="Appartamento">Appartamenti</option>[br]<option value="Campeggio">Campeggio</option>[br]<option value="Ostello">Ostello</option>[br]<option value="Pensione">Pensione</option>[br]<option value="Rifugio">Rifugio</option>[br]<option value="Albergo diffuso">Albergo diffuso</option>[br]<option value="Casa per ferie">Casa per ferie</option>[br]<option value="Residence">Residence</option>[br]<option value="Casa vacanza">Casa vacanza</option>[br]<option value="Albergo 4 stelle Superior">Albergo 4 stelle Superior</option>[br]<option value="Albergo 3 stelle Superior">Albergo 3 stelle Superior</option>[br]<option value="Villaggio turistico">Villaggio turistico</option></select><i class="dropdown icon"></i><div class="text"></div><div class="menu transition hidden" tabindex="-1"><div class="item" data-value="Albergo 1 stella">Albergo 1 stella</div><div class="item" data-value="Albergo 2 stelle">Albergo 2 stelle</div><div class="item" data-value="Albergo 3 stelle">Albergo 3 stelle</div><div class="item" data-value="Albergo 4 stelle">Albergo 4 stelle</div><div class="item" data-value="Albergo 5 stelle">Albergo 5 stelle</div><div class="item" data-value="Agriturismo">Agriturismo</div><div class="item" data-value="Bed and Breakfast">Bed and Breakfast</div><div class="item" data-value="Affittacamere">Affittacamere</div><div class="item" data-value="Appartamento">Appartamenti</div><div class="item" data-value="Campeggio">Campeggio</div><div class="item" data-value="Ostello">Ostello</div><div class="item" data-value="Pensione">Pensione</div><div class="item" data-value="Rifugio">Rifugio</div><div class="item" data-value="Albergo diffuso">Albergo diffuso</div><div class="item" data-value="Casa per ferie">Casa per ferie</div><div class="item" data-value="Residence">Residence</div><div class="item" data-value="Casa vacanza">Casa vacanza</div><div class="item" data-value="Albergo 4 stelle Superior">Albergo 4 stelle Superior</div><div class="item" data-value="Albergo 3 stelle Superior">Albergo 3 stelle Superior</div><div class="item" data-value="Villaggio turistico">Villaggio turistico</div></div></div></div>[/pre]


2 things are missing:[br]A ui label element with the semantic ui label of the selected values.[br]The class active filtered in the div.item of the selected values.

Has something changed between the 2 CC versions? Should I change some of the parameters of the dropdown field or the format of the field read from the table?

Thank you
maxx
emmexx 30 Mar, 2021
After adding a standalone dropdown with the same parameters and removing it, everything seems ok.

I don't know what to think. Could it be a cache problem?
You need to login to be able to post a reply.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com