Added template to specie autocomplete
This commit is contained in:
parent
d97a188b37
commit
c95c7192da
|
@ -29,14 +29,21 @@
|
|||
value-field="genus_id"
|
||||
label="Genus">
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
vn-one
|
||||
<vn-autocomplete vn-one
|
||||
initial-data="$ctrl.botanical.specie"
|
||||
ng-model="$ctrl.botanical.specieFk"
|
||||
url="species"
|
||||
show-field="latin_species_name"
|
||||
value-field="specie_id"
|
||||
label="Species">
|
||||
label="Species"
|
||||
fields="['genus_id']"
|
||||
include="'genus'">
|
||||
<tpl-item>
|
||||
<div>{{latin_species_name}}</div>
|
||||
<div class="text-caption text-secondary">
|
||||
{{genus.latin_genus_name}}
|
||||
</div>
|
||||
</tpl-item>
|
||||
</vn-autocomplete>
|
||||
</vn-horizontal>
|
||||
</vn-card>
|
||||
|
|
Loading…
Reference in New Issue