mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(textarea): render icon for clearing input
This commit is contained in:
@ -690,7 +690,9 @@ export class Input implements ComponentInterface {
|
|||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
}}
|
}}
|
||||||
onClick={this.clearTextInput}
|
onClick={this.clearTextInput}
|
||||||
/>
|
>
|
||||||
|
<ion-icon aria-hidden="true" icon={mode === 'ios' ? closeCircle : closeSharp}></ion-icon>
|
||||||
|
</button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{shouldRenderHighlight && <div class="input-highlight"></div>}
|
{shouldRenderHighlight && <div class="input-highlight"></div>}
|
||||||
|
Reference in New Issue
Block a user