File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
templates/components/forms/orders Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 7
7
</div >
8
8
<div {{ did-update this.updated @field }} class =" ui action input" style =" width: inherit;" >
9
9
<Input type =" text" placeholder ={{ t " Field Name" }} @value ={{ this.name }} />
10
- <UiDropdown class =" ui selection dropdown" @selected ={{ this.type }} @onChange ={{ action (mut this.type )}} >
10
+ <UiDropdown class =" ui selection dropdown custom-form-dropdown-attendee " @selected ={{ this.type }} @onChange ={{ action (mut this.type )}} >
11
11
<div class =" default text" >
12
12
{{ this.type }}
13
13
</div >
16
16
<div class =" item" data-value =" text" >{{ t " Short Answer" }} </div >
17
17
<div class =" item" data-value =" paragraph" >{{ t " Paragraph" }} </div >
18
18
<div class =" item" data-value =" number" >{{ t " Number" }} </div >
19
+ <div class =" item" data-value =" richtextlink" >{{ t " Rich Text Links" }} </div >
19
20
</div >
20
21
</UiDropdown >
21
22
<div >
Original file line number Diff line number Diff line change 125
125
height : 100% ;
126
126
border : 0 ;
127
127
}
128
+
129
+ .custom-form-dropdown-attendee {
130
+ position : relative !important ;
131
+ display : inline-block !important ;
132
+
133
+ .menu {
134
+ position : absolute !important ;
135
+ background-color : #f9f9f9 !important ;
136
+ overflow-y : scroll !important ;
137
+ max-height : 128px !important ;
138
+ }
139
+ }
Original file line number Diff line number Diff line change 85
85
@value ={{ mut (get holder field.fieldIdentifier )}}
86
86
@name ={{ if field.isRequired (concat field.fieldIdentifier " _required_" index ) (concat field.fieldIdentifier " _" index )}} />
87
87
{{ /if }}
88
- {{ #if (is-input-field field.type ) }}
89
- {{ #if field.isLongText }}
88
+ {{ #if (or ( is-input-field field.type ) ( eq field.type ' richtextlink ' )) }}
89
+ {{ #if ( or field.isLongText ( eq field.type ' richtextlink ' )) }}
90
90
<Widgets::Forms::RichTextEditor
91
91
@value ={{ mut (get holder field.fieldIdentifier )}}
92
92
@name ={{ if field.isRequired (concat field.fieldIdentifier " _required_" index ) (concat field.fieldIdentifier " _" index )}} />
You can’t perform that action at this time.
0 commit comments