File tree Expand file tree Collapse file tree 5 files changed +31
-7
lines changed Expand file tree Collapse file tree 5 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " @ditdot-dev/vue-flow-form" ,
3
3
"author" : " DITDOT" ,
4
4
"description" : " Create conversational conditional-logic forms with Vue.js." ,
5
- "version" : " 1.0.6 " ,
5
+ "version" : " 1.0.7 " ,
6
6
"private" : false ,
7
7
"repository" : {
8
8
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ span.faux-form {
225
225
.v-form input [type = tel ],
226
226
.v-form input [type = email ],
227
227
.v-form input [type = url ],
228
+ .v-form input [type = password ],
228
229
.v-form textarea {
229
230
-webkit-appearance : none;
230
231
-moz-appearance : none;
@@ -257,6 +258,7 @@ span.faux-form {
257
258
.v-form .full-width input [type = tel ],
258
259
.v-form .full-width input [type = email ],
259
260
.v-form .full-width input [type = url ],
261
+ .v-form .full-width input [type = password ],
260
262
.v-form .full-width textarea ,
261
263
.v-form .full-width span .faux-form {
262
264
width : 100% ;
Original file line number Diff line number Diff line change 83
83
import FlowFormLongTextType from ' ./QuestionTypes/LongTextType.vue'
84
84
import FlowFormMultipleChoiceType from ' ./QuestionTypes/MultipleChoiceType.vue'
85
85
import FlowFormNumberType from ' ./QuestionTypes/NumberType.vue'
86
+ import FlowFormPasswordType from ' ./QuestionTypes/PasswordType.vue'
86
87
import FlowFormPhoneType from ' ./QuestionTypes/PhoneType.vue'
87
88
import FlowFormSectionBreakType from ' ./QuestionTypes/SectionBreakType.vue'
88
89
import FlowFormTextType from ' ./QuestionTypes/TextType.vue'
96
97
FlowFormLongTextType,
97
98
FlowFormMultipleChoiceType,
98
99
FlowFormNumberType,
100
+ FlowFormPasswordType,
99
101
FlowFormPhoneType,
100
102
FlowFormSectionBreakType,
101
103
FlowFormTextType,
Original file line number Diff line number Diff line change
1
+ <script >
2
+ /*
3
+ Copyright (c) 2020 - present, DITDOT Ltd. - MIT Licence
4
+ https://www.ditdot.hr/en
5
+ */
6
+
7
+ import TextType from ' ./TextType.vue'
8
+ import { QuestionType } from ' ../../models/QuestionModel'
9
+
10
+ export default {
11
+ extends: TextType,
12
+ name: QuestionType .Password ,
13
+ data () {
14
+ return {
15
+ inputType: ' password'
16
+ }
17
+ }
18
+ }
19
+ </script >
Original file line number Diff line number Diff line change 7
7
8
8
export const QuestionType = {
9
9
Dropdown : 'FlowFormDropdownType' ,
10
- MultipleChoice : 'FlowFormMultipleChoiceType' ,
11
- Text : 'FlowFormTextType' ,
12
- LongText : 'FlowFormLongTextType' ,
13
10
Email : 'FlowFormEmailType' ,
14
- Phone : 'FlowFormPhoneType ' ,
15
- Url : 'FlowFormUrlType ' ,
11
+ LongText : 'FlowFormLongTextType ' ,
12
+ MultipleChoice : 'FlowFormMultipleChoiceType ' ,
16
13
Number : 'FlowFormNumberType' ,
17
- SectionBreak : 'FlowFormSectionBreakType'
14
+ Password : 'FlowFormPasswordType' ,
15
+ Phone : 'FlowFormPhoneType' ,
16
+ SectionBreak : 'FlowFormSectionBreakType' ,
17
+ Text : 'FlowFormTextType' ,
18
+ Url : 'FlowFormUrlType'
18
19
}
19
20
20
21
export const DropdownOptionBlank = {
You can’t perform that action at this time.
0 commit comments