Signed-off-by: oppiliappan me@oppi.li
+15
-1
appview/pages/templates/repo/fragments/editLabelPanel.html
+15
-1
appview/pages/templates/repo/fragments/editLabelPanel.html
···
170
{{ $fieldName := $def.AtUri }}
171
{{ $valueType := $def.ValueType }}
172
{{ $value := .value }}
173
{{ if $valueType.IsDidFormat }}
174
{{ $value = trimPrefix (resolve .value) "@" }}
175
{{ end }}
176
-
<input class="p-1 w-full" type="text" name="{{$fieldName}}" value="{{$value}}">
177
{{ end }}
178
179
{{ define "nullTypeInput" }}
···
170
{{ $fieldName := $def.AtUri }}
171
{{ $valueType := $def.ValueType }}
172
{{ $value := .value }}
173
+
174
{{ if $valueType.IsDidFormat }}
175
{{ $value = trimPrefix (resolve .value) "@" }}
176
+
<actor-typeahead>
177
+
<input
178
+
autocapitalize="none"
179
+
autocorrect="off"
180
+
autocomplete="off"
181
+
placeholder="user.tngl.sh"
182
+
value="{{$value}}"
183
+
name="{{$fieldName}}"
184
+
type="text"
185
+
class="p-1 w-full text-sm"
186
+
/>
187
+
</actor-typeahead>
188
+
{{ else }}
189
+
<input class="p-1 w-full" type="text" name="{{$fieldName}}" value="{{$value}}">
190
{{ end }}
191
{{ end }}
192
193
{{ define "nullTypeInput" }}