[TYPO3-german] Re: [Typo3 7.6.x] Jobfair Multiselect Fehler? - Alternativen?
Martin Clewing
mpc at clewing.de
Mon Sep 25 21:56:25 CEST 2017
Hallo,
zu 1) ja, ist so. Die Abfragen sind so programmiert.
zu 2) Habe ich eben in forge eingetragen:
It works when you change the Filter-Template. This is the modified category-Filter, working with a simple select field:
{namespace jobfair=Dan\Jobfair\ViewHelpers}
<div class="form-group tx_jobfair tx_jobfair_filter_item" id="tx_jobfair_filter_item_category">
<div class="col-sm-3 control-label">
<label><f:translate key="tx_jobfair_domain_model_job.category" default="{field}" /></label>
</div>
<div class="col-sm-5 tx_jobfair-filter-content">
<input name="tx_jobfair_pi1[filter][categories]" value="" type="hidden">
<f:form.select
id="categories"
options="{categories}"
name="filter[categories][]"
multiple="false"
value="{filter.categories.0.uid}"
optionValueField="uid"
optionLabelField="name"
prependOptionValue="0"
prependOptionLabel="{f:translate(key:'emptySelect')}"
additionalAttributes="{onChange : 'document.filter.submit();'}"
class="form-control tx_jobfair-filter-select">
<select><option>###dummy###</option></select>
</f:form.select>
</div>
</div>
Gruß am Abend,
Martin
More information about the TYPO3-german
mailing list