Add custom class to CakePHP automagic date select
问题 I would like to add a class to all selects of an automagic created datepicker formgroup. <?= $this->Form->input('hide', ['class'=>'classtoadd' ]); ?> The result ist: <div class="input date"> <label>Hide</label> <select name="hide[year]"> <option value="" selected="selected"></option> <option value="2020">2020</option> ... </select> <select name="hide[month]"> <option value="" selected="selected"></option> <option value="01">Januar</option> ... </select> <select name="hide[day]"> <option value