This repository was archived by the owner on Mar 14, 2025. It is now read-only.
File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,7 @@ This example is based on Bootstrap 3 [input group](http://getbootstrap.com/compo
66
66
v-model =" date"
67
67
placeholder =" Select date"
68
68
:config =" config"
69
- :required =" true"
70
- input-class =" date-input"
69
+ :required =" true"
71
70
name =" date" >
72
71
</flat-pickr >
73
72
<div class =" input-group-btn" >
@@ -134,7 +133,7 @@ The component accepts these props:
134
133
| v-model / value | String / Date Object / Array / null| ` null ` | Set or Get date-picker value (required) |
135
134
| config | Object | ` {wrap:false} ` | Flatpickr configuration [ options] ( https://chmln.github.io/flatpickr/options/ ) |
136
135
| placeholder | String | ` '' ` | Set placeholder on input |
137
- | input-class | String / Object | ` '' ` | Add CSS class to input |
136
+ | input-class | String / Object | ` 'form-control input ' ` | Set CSS class to input |
138
137
| name | String | ` 'date-time' ` | Set input field name |
139
138
| required | Boolean | ` false ` | Make input field required |
140
139
| id | String | ` '' ` | Set input field id |
Original file line number Diff line number Diff line change 55
55
placeholder =" Select date"
56
56
:config =" configs.wrap"
57
57
:required =" true"
58
- input-class =" date- input-class "
58
+ input-class =" form-control input date-input "
59
59
name =" date-name"
60
60
>
61
61
</flat-pickr >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
3
3
<input type =" text"
4
- class =" form-control input"
5
4
:id =" id"
6
5
:class =" inputClass"
7
6
:name =" name"
38
37
},
39
38
inputClass: {
40
39
type: [String , Object ],
41
- default: ' '
40
+ default: ' form-control input '
42
41
},
43
42
name: {
44
43
type: String ,
You can’t perform that action at this time.
0 commit comments