fix(textarea): render icon for clearing input

This commit is contained in:
Sean Perkins
2022-12-05 11:28:52 -05:00
parent acb12b36ee
commit 3271ecf1de

View File

@ -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>}