Borales/yii2-phone-input

Exception in use with kartik tabular form

strtob opened this issue · 2 comments

Hi,

I try to use this good looking widget with kartik tabular form, unfurtanetly I get this error:

Exception 'Error' with message Class <<'input type="tel" id="w0" class="form-control" name="number" autocomplete="off">> not found'

in /home/tst/work/assetor/vendor/kartik-v/yii2-builder/src/BaseForm.php:477

Is there a quick fix possible?

sorry, wrong classname definitino, works:

'number' => [
//'label' => 'Tbl company number type',
'type' => TabularForm::INPUT_WIDGET,
'widgetClass' => \borales\extensions\phoneInput\PhoneInput::classname(),
'options' => [
'name' => 'number',
'jsOptions' => [
'allowExtensions' => true,
]
],
'columnOptions' => ['width' => '200px']
],

but I need to make the list open outside of the inner window?

after some hours I've found a soltuion, hope this helps someone as well:

.kv-grid-container { overflow-x: initial; }