Add ignore fields without a name
This commit is contained in:
parent
1771eeb338
commit
740f31092c
2 changed files with 5 additions and 2 deletions
|
@ -19,6 +19,7 @@
|
|||
{{ range $k, $p := . }}
|
||||
{{ if $p }}
|
||||
<group name="[{{ $k }}]">
|
||||
<input value="something without a name">
|
||||
<input name="name" type="text" value="{{ $p.Name }}">
|
||||
<input name="surname" type="text" value="{{ $p.Surname }}">
|
||||
<input name="age" type="number" value="{{ $p.Age }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue