Use .String in hidden-field template, so that it works for TagsField too

This commit is contained in:
jordi fita mas 2023-03-28 10:01:41 +02:00
parent a5dc434aa2
commit 3f092cd0d0
1 changed files with 1 additions and 1 deletions

View File

@ -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" -}}