Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input注册keyup校验时,快速输入,提示信息会错乱 #335

Merged
merged 6 commits into from
Mar 29, 2018
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>