Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
feat(form-input): add options
Browse files Browse the repository at this point in the history
  • Loading branch information
RWOverdijk committed Feb 13, 2017
1 parent aa430ed commit 10894cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/component/form-input.js
Expand Up @@ -17,4 +17,6 @@ export class FormInput {
@bindable readonly = false;

@bindable disabled = false;

@bindable options = {};
}
1 change: 1 addition & 0 deletions src/component/view/bootstrap/form-input.html
Expand Up @@ -6,6 +6,7 @@
value.bind="value"
placeholder.bind="placeholder"
readonly.bind="readonly"
prefixed="options.bind: options; prefix: input-"
disabled.bind="disabled"
>
</template>

0 comments on commit 10894cd

Please sign in to comment.