Vue-form-generator: DateTimePicker obsolete

Created on 14 Nov 2018  路  6Comments  路  Source: vue-generators/vue-form-generator

  • I'm submitting a ...

    • [X ] bug report
    • [ ] feature request
    • [ ] support request
  • What is the current behavior?

The datepicker module used is obsolete :
https://github.com/Eonasdan/bootstrap-datetimepicker

  • What is the expected behavior?

A followed library

Most helpful comment

@zoul0813 Sorry, i wrote this too quickly, i think the DateTimePicker lib is obsolete (bootstrap 3 not 4, message on home page ) and should be replaced by another.

All 6 comments

I don鈥檛 understand?

Due to a lack of follow up, I'm closing this issue.

@zoul0813 Sorry, i wrote this too quickly, i think the DateTimePicker lib is obsolete (bootstrap 3 not 4, message on home page ) and should be replaced by another.

Yep, that causes problems when we're already using bootstrap 4 in our project.
In this component specifically (and maybe others) use the glyphicon, and that makes the buttons/icons disappear, turning them not clickable.
The problem occurs because in the v4 they dropped the glyph icons.

Solved this way>
In package.json
"dependencies": {
"bootstrap": "^4.4.1",
"bootstrap-v3": "https://github.com/twbs/bootstrap/archive/v3.3.7.tar.gz"
}

And then in the component that uses vue-form-generator:
import 'bootstrap-v3/dist/css/bootstrap.css'
import 'bootstrap-v3/dist/js/bootstrap.js'

Solved this way>
In package.json
"dependencies": {
"bootstrap": "^4.4.1",
"bootstrap-v3": "https://github.com/twbs/bootstrap/archive/v3.3.7.tar.gz"
}

And then in the component that uses vue-form-generator:
import 'bootstrap-v3/dist/css/bootstrap.css'
import 'bootstrap-v3/dist/js/bootstrap.js'

Doesn't work for me 馃槙

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zwx00 picture zwx00  路  3Comments

icetee picture icetee  路  4Comments

jewbetcha picture jewbetcha  路  3Comments

LouWii picture LouWii  路  4Comments

DelfsEngineering picture DelfsEngineering  路  4Comments