OMG so many Buefy things...and much to be done yet it seems
these changes are all with Buefy "forms" support in mind. hopefully didn't break any legacy/jquery stuff... and yeah, lots more left to do still for the sake of Buefy forms
This commit is contained in:
parent
eea3f671af
commit
6c3722737d
13 changed files with 192 additions and 73 deletions
23
tailbone/static/js/tailbone.buefy.timepicker.js
Normal file
23
tailbone/static/js/tailbone.buefy.timepicker.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
const TailboneTimepicker = {
|
||||
|
||||
template: [
|
||||
'<b-timepicker',
|
||||
':name="name"',
|
||||
':id="id"',
|
||||
'editable',
|
||||
'placeholder="Click to select ..."',
|
||||
'icon-pack="fas"',
|
||||
'icon="clock"',
|
||||
'hour-format="12"',
|
||||
'>',
|
||||
'</b-timepicker>'
|
||||
].join(' '),
|
||||
|
||||
props: {
|
||||
name: String,
|
||||
id: String
|
||||
}
|
||||
}
|
||||
|
||||
Vue.component('tailbone-timepicker', TailboneTimepicker)
|
Loading…
Add table
Add a link
Reference in a new issue