Use .String in hidden-field template, so that it works for TagsField too
This commit is contained in:
parent
a5dc434aa2
commit
3f092cd0d0
|
@ -2,7 +2,7 @@
|
|||
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.InputField*/ -}}
|
||||
<input type="hidden" name="{{ .Name }}"
|
||||
{{- range $attribute := .Attributes }} {{$attribute}} {{ end }}
|
||||
value="{{ .Val }}">
|
||||
value="{{ .String }}">
|
||||
{{- end }}
|
||||
|
||||
{{ define "input-field" -}}
|
||||
|
|
Loading…
Reference in New Issue