Bug using widget into Form Builder
Closed this issue · 1 comments
ilbassa commented
Hi, the form with kartik\number\NumberControl doesn't work anymore.
The form field configuration is
'INPUT_NUM_1' => [
'attribute' => 'INPUT_NUM_1',
'type' => constant('\kartik\builder\Form::INPUT_WIDGET'),
'widgetClass' => 'kartik\number\NumberControl',
'options' => [
'maskedInputOptions' => [
'allowMinus' => false,
'rightAlign' => false,
'digits' => 0,
],
],
'label' => $this->getAttributeLabel('INPUT_NUM_1'),
],
The input is not inserted into the right attribute, so when I load() the model the value isn't passed
ilbassa commented
It was a jquery problem