You need to sign in to do that
Don't have an account?

how to use search Icon in lightning input
i want to display a input field with search Icon but i am unable to do that.
i had written the below code.
<lightning:input type="text" placeholder = "Search CPP ID" value="{!v.searchKeyword}" iconName="utility:search" onchange="{!c.Search}" />
And the image is

i had written the below code.
<lightning:input type="text" placeholder = "Search CPP ID" value="{!v.searchKeyword}" iconName="utility:search" onchange="{!c.Search}" />
And the image is
Please try this.
Thanks
Hemant