Hi,
I just went thru everything and found a problem.
When submitting in my form it does nothing, i dont even get an error just no response. u know this fix??
Its in my frontend view/overzicht
This is my activeform
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'Klanten_id')->dropDownList(ArrayHelper::map(Klanten::find()->select(['klantennaam','ID'])->all(), 'ID', 'displayName'),['class' => 'form-control inline-block']); ?>
<?= $form->field($model, 'Datum')->widget(
FlatpickrWidget::class, [
'model' => $model,
'attribute' => 'Datum',
'flatpickrConfig' => [ // This is passed as a JSON object to flatpickr
'enableTime' => false,
'dateFormat' => 'Y-m-d',
'altInput' => true,
'altFormat' => 'F j, Y',
]
]
)
?>
<?= $form->field($model, 'Medewerker')->textInput() ?>
<?= $form->field($model, 'Activiteit')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'Uren')->textInput() ?>
<?= $form->field($model, 'Declarabel')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'Opmerkingen')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'Project')->textInput(['maxlength' => true]) ?>
<div class="form-group">
<div class="d-grid gap-2 mt-4">
<?= Html::submitButton('Save', ['class' => 'btn btn-warning']) ?>
</div>
<?php ActiveForm::end(); ?>