Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Husniddinuz opened this issue Nov 20, 2019 · 1 comment
Open
Assignees
Projects

Comments

@Husniddinuz
Copy link

Husniddinuz commented Nov 20, 2019

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

@unclead
Copy link
Owner

unclead commented Dec 1, 2019

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

@unclead unclead self-assigned this Nov 15, 2020
@unclead unclead added this to To do in Refactoring Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants