First search text value cleared if i entered the text in second search view by using virtual keyboard in ionic

I am using virtual keyboard .My page have two search view if i entered the value in search view its working well.But while moving one to another search view first entered view of text is cleared
I am using
(keyup)=“functionName($event)”