Permalink
Browse files

fix(association-select): add name attribute

  • Loading branch information...
RWOverdijk committed Feb 23, 2017
1 parent a24a1c9 commit 19b40fdaeb00522d222d9d4a1277089ba4506759
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/component/association-select.html
  2. +2 −0 src/component/association-select.js
@@ -1,5 +1,5 @@
<template>
<select class="form-control" value.bind="value" multiple.bind="multiple" disabled.bind="disabled">
<select name.bind="name" class="form-control" value.bind="value" multiple.bind="multiple" disabled.bind="disabled">
<option selected disabled.bind="!hidePlaceholder && !selectablePlaceholder" model.bind="placeholderValue" show.bind="!hidePlaceholder" t="[html]${placeholderText || '- Select a value -'}">${placeholderText || '- Select a value -'}</option>
<option model.bind="option.id" repeat.for="option of options">${option[property]}</option>
</select>
@@ -9,6 +9,8 @@ import {logger, EntityManager, Entity, OrmMetadata} from "../aurelia-orm";
export class AssociationSelect {
@bindable criteria;
@bindable name = '';
@bindable repository;
@bindable identifier = 'id';

0 comments on commit 19b40fd

Please sign in to comment.