yakamara / redaxo_yform_docs

Dokumentation für YForm
31 stars 30 forks source link

Choice-Feld intepretiert Kommas falsch #146

Closed iceman-fx closed 4 years ago

iceman-fx commented 4 years ago

Hallo,

wenn ich eine Checkbox mittels choice-Feld anlege, so werden Kommas im Label und Wert falsch interpretiert und ausgegeben.

choice|preis_25|2.500,- Euro|2.500,- Euro|1|1|

wird zu

<div class="form-check-group" id="yform-formular-preis_25">
<label class="control-label" for="yform-formular-field-18">2.500,- Euro</label>
<div class="checkbox">
<label><input value="2.500" id="yform-formular-field-18-2-500" name="FORM[formular][18][]" type="checkbox" /><i class="form-helper"></i>2.500</label>
</div>
<div class="checkbox">
<label><input value="- Euro" id="yform-formular-field-18-euro" name="FORM[formular][18][]" type="checkbox" /><i class="form-helper"></i>- Euro</label>
</div>
</div>

Redaxo: 5.8.1 YForm: 3.3.1