File tree 3 files changed +33
-3
lines changed
3 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 1
1
< ng-template #templateRef let-data >
2
2
< div >
3
+ <!-- (keyup.enter) -->
3
4
< winput
4
5
[placeholder] ="data.field.Placeholder "
5
6
[label] ="data.field.Label "
Original file line number Diff line number Diff line change 3
3
< h2 > Document Preview:</ h2 >
4
4
< span > {{submition|json}}</ span >
5
5
</ div >
6
+
6
7
< wform [config] ="form " [submition] ="submition "> </ wform >
7
8
8
9
< winput > </ winput >
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import { FormService } from 'src/app/core/modules/form/form.service';
3
3
import { FormInterface } from 'src/app/core/modules/form/interfaces/form.interface' ;
4
4
5
5
@Component ( {
6
- templateUrl : './components.component.html' ,
7
- styleUrls : [ './components.component.scss' ] ,
8
- standalone : false
6
+ templateUrl : './components.component.html' ,
7
+ styleUrls : [ './components.component.scss' ] ,
8
+ standalone : false
9
9
} )
10
10
export class ComponentsComponent {
11
11
submition : Record < string , unknown > = {
@@ -84,6 +84,34 @@ export class ComponentsComponent {
84
84
}
85
85
]
86
86
} ,
87
+ {
88
+ name : 'Tags' ,
89
+ key : 'tags' ,
90
+ fields : [
91
+ {
92
+ name : 'Placeholder' ,
93
+ value : 'Enter tags'
94
+ } ,
95
+ {
96
+ name : 'Label' ,
97
+ value : 'Tags'
98
+ }
99
+ ]
100
+ } ,
101
+ {
102
+ name : 'Tags' ,
103
+ key : 'tags2' ,
104
+ fields : [
105
+ {
106
+ name : 'Placeholder' ,
107
+ value : 'Enter tags2'
108
+ } ,
109
+ {
110
+ name : 'Label' ,
111
+ value : 'Tags2'
112
+ }
113
+ ]
114
+ } ,
87
115
{
88
116
name : 'Email' ,
89
117
key : 'email' ,
You can’t perform that action at this time.
0 commit comments