Let user specify the id of the input bar
Input bar id is not globally set, but passed to the directive through the input-id attribute.
This commit is contained in:
parent
f3f5330aed
commit
c04b6e64f6
3 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<form class="form form-horizontal" ng-submit="sendMessage()">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control monospace" autocomplete="off" >
|
||||
<input id="{{inputId}}" type="text" class="form-control monospace" autocomplete="off" >
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-primary">Send</button>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue