jtsage / jtsage-datebox

A multi-mode date and time picker for Bootstrap (3&4), jQueryMobile, Foundation, Bulma, FomanticUI, and UIKit (or others)
http://datebox.jtsage.dev/
Other
474 stars 166 forks source link

I get an Error called "a.widget is not a function" #419

Closed omeiths closed 6 years ago

omeiths commented 6 years ago

Hi , I#m using Bootstrap 4.0 and get the following Error

Uncaught TypeError: a.widget is not a function at jtsage-datebox.min.js:2 at jtsage-datebox.min.js:4

what am I doing wrong ?

jtsage commented 6 years ago

Hmm. yeah, I notice that the install docs don't include a needed prerequisite. The widget library from jqueryui is needed.

 <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>

I'll get the docs updated, I thought it was in there, but it clearly isn't.

AliNaik commented 6 years ago

Uncaught TypeError: Cannot read property 'query' of undefined