Zitat von
cliffparnitzky
Für ein älteres Contao 4 müsste man das im Template einbauen, dass das "min" Attribut gesetzt wird.
Im form_textfield.html5 habe ich das hier eingebaut, funktioniert soweit:
Code:
<input type="<?= $this->type ?>" name="<?= $this->name ?>" id="ctrl_<?= $this->id ?>" min="1" class="text<?php if ($this->hideInput) echo ' password'; ?><?php if ($this->class) echo ' ' . $this->class; ?>" value="<?= StringUtil::specialchars($this->value) ?>"<?= $this->getAttributes() ?>>
<?php $this->endblock(); ?>
Zitat von
Spooky
Auch das tut seinen Dienst bestens. Vielen Dank für die Tipps.
Lesezeichen