mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +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();
|
||||
}}
|
||||
onClick={this.clearTextInput}
|
||||
/>
|
||||
>
|
||||
<ion-icon aria-hidden="true" icon={mode === 'ios' ? closeCircle : closeSharp}></ion-icon>
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
{shouldRenderHighlight && <div class="input-highlight"></div>}
|
||||
|
Reference in New Issue
Block a user