<div pad-large style="min-width: 10em">
    <form ng-submit="$ctrl.onSearch()">
        <vn-horizontal>
            <vn-autocomplete
                vn-one
                label="Tag"
                field="filter.tagFk"
                url="/api/Tags"
                show-field="name"
                value-field="id">
                <tpl-item>{{name}}</tpl-item>
            </vn-autocomplete>
        </vn-horizontal>
        <vn-horizontal>
            <vn-textfield
                vn-one
                label="Value"
                model="filter.value">
            </vn-textfield>
        </vn-horizontal>
        <vn-horizontal margin-large-top>
            <vn-submit label="Search"></vn-submit>
        </vn-horizontal>
    </form>
</div>