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*/ -}}
|
{{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.InputField*/ -}}
|
||||||
<input type="hidden" name="{{ .Name }}"
|
<input type="hidden" name="{{ .Name }}"
|
||||||
{{- range $attribute := .Attributes }} {{$attribute}} {{ end }}
|
{{- range $attribute := .Attributes }} {{$attribute}} {{ end }}
|
||||||
value="{{ .Val }}">
|
value="{{ .String }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ define "input-field" -}}
|
{{ define "input-field" -}}
|
||||||
|
|
Loading…
Reference in New Issue