Disable Native Keyboard Search Button

Hello. I need to disable a key on the native keyboard until it has a use. It’s for searching. If the search bar is empty, I need the key to be disabled. Once a character is entered, it would be enabled.

There is an example in iOS below of what I am trying to achieve. I am using Ionic Native Keyboard and the latest version of Ionic 3.