rubanraj54 / vue-bootstrap4-table

Advanced table based on Vue 2 and Bootstrap 4 ⚡️
MIT License
219 stars 57 forks source link

Bug: Select filters break Vue routing #58

Open 95jonpet opened 5 years ago

95jonpet commented 5 years ago

When clicking the filter button for "select" filters, the selection does not open and the route is changed to the root in a single page application using # to declare routes.

I am using vue-router.

rubanraj54 commented 5 years ago

Hi @95jonpet

I will have a look at this bug.

Thanks for reporting.

Cheers, Ruby.

NBoumakis commented 4 years ago

Dear @rubanraj54 and @95jonpet the same happens even if I am not using routing. Could it be related to the usage of Vue.Js instead of jQuery?

rubanraj54 commented 4 years ago

Hi @NBoumakis jQuery is on of the dependency for Bootstrap. Could you please install jQuery and try once again.

Cheers, Ruby.

95jonpet commented 4 years ago

Bootstrap is marked as a dependency and npm pulls in all transitive dependencies. vue-bootstrap4-table Has jQuery as a dev dependency. Perhaps it should be moved to the list of regular dependencies (runtime dependencies instead of compiletime)? The same goes for the bootstrap dependency.

NBoumakis commented 4 years ago

Perhaps, since it is vue-bootstrap4-table, it would be possible to change jQuery to Vue.JS?