yii2-multiple-input icon indicating copy to clipboard operation
yii2-multiple-input copied to clipboard

Not working with bootstrap 4 and jQuery JavaScript Library v3.4.1.

Open Husniddinuz opened this issue 5 years ago • 1 comments

How to use unclead/yii2-multiple-input with bootstrap 4 and jQuery JavaScript Library v3.4.1?

<?= $form->field($model, 'details')->widget(MultipleInput::className(), [        
      'columns' => [                
              [
                  'name'  => 'attr',
                  'title' => 'Attribute',
                  'value' => function($data) {
                      return $data['day'];
                  },
              ],
              [
                  'name'  => 'value',
                  'title' => 'Value',
                  'enableError' => true,
                  'options' => [
                      'class' => 'input-priority'
                  ]
              ]
          ]
      ]);
  ?>

Uncaught TypeError: jQuery(...).multipleInput is not a function jquery.min.js:2 Uncaught TypeError: jQuery(...).multipleInput is not a function

Husniddinuz avatar Nov 20 '19 07:11 Husniddinuz

@Husniddinuz nobody has adapted the widget for bootstrap 4 yet, but PR is always welcome.

unclead avatar Dec 01 '19 13:12 unclead