Skip to content

Commit 8001eec

Browse files
committed
Input placeholder disappears on focus.
Left value blank and added placeholder. Now the placeholder disappears on focus.
1 parent d8f8fd7 commit 8001eec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ <h3 class="demo-panel-title">Input</h3>
7474
</div>
7575
<div class="col-xs-3">
7676
<div class="form-group has-error">
77-
<input type="text" value="Error" class="form-control" />
77+
<input type="text" value="" placeholder="Error" class="form-control" />
7878
</div>
7979
</div>
8080
<div class="col-xs-3">
8181
<div class="form-group has-success">
82-
<input type="text" value="Success" class="form-control" />
82+
<input type="text" value="" placeholder="Success" class="form-control" />
8383
<span class="input-icon fui-check-inverted"></span>
8484
</div>
8585
</div>

0 commit comments

Comments
 (0)