Skip to content

Commit

Permalink
Merge pull request #335 from kaola-fed/hotfix_input_tip_20180327
Browse files Browse the repository at this point in the history
input注册keyup校验时,快速输入,提示信息会错乱
  • Loading branch information
ZianeCui authored Mar 29, 2018
2 parents 19853b9 + 6b8ea1f commit 586749f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/components/form/KLInput/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
{/if}
{#if _eltIE9 && !value}<span class="input_placeholder">{placeholder}</span>{/if}
</span>
{#if tip && !hideTip}<span class="u-tip u-tip-{state} animated" r-animation="on:enter;class:fadeInY;on:leave;class:fadeOutY;"><i class="u-icon u-icon-{state}"></i><span class="tip">{tip}</span></span>{/if}
{#if tip && !hideTip}<span class="u-tip u-tip-{state} animated" r-animation="on:enter;class:fadeInY;"><i class="u-icon u-icon-{state}"></i><span class="tip">{tip}</span></span>{/if}
</label>
{/if}
2 changes: 1 addition & 1 deletion src/js/components/form/KLTextArea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
on-keyup={this._onKeyUp($event)} on-blur={this._onBlur($event)} on-change="change" on-focus={this._onFocus($event)} ></textarea>
{#if maxlength && value}<span class="textarea_len">{value.length}/{maxlength}</span>{/if}
{#if _eltIE9 && !value}<span class="textarea_placeholder">{placeholder}</span>{/if}
{#if tip && !hideTip}<span class="u-tip u-tip-{state} animated" r-animation="on:enter;class:fadeInY;on:leave;class:fadeOutY;"><i class="u-icon u-icon-{state}"></i><span class="tip">{tip}</span></span>{/if}
{#if tip && !hideTip}<span class="u-tip u-tip-{state} animated" r-animation="on:enter;class:fadeInY;"><i class="u-icon u-icon-{state}"></i><span class="tip">{tip}</span></span>{/if}
</label>

0 comments on commit 586749f

Please sign in to comment.