Question: How do I get the selected result of a search field of `Semantic-UI`?

Using `onSelect` event, I can get the selected result, but this does not work when clean the field with the backspace.

Using `field.search('get result')` also not return the result blank as expected.

Answer: 
In the second case doesn't compile as the compiler can't decide between the method that takes an Integer and the method that takes a String, where as in case of first the compiler can figure it out.

Reference : <http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2>
please, see JLS [§15.12.2](http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2.5)

> 
> following order of method resolving for calling purpose is important
>  when same type data-type is there,
> 
> 
> 1. (for primitive data-type)exact data-type match then call it.
>  1.1 if not then call to broader then this data-type available then call it.
> 2. match for Wrapper type of Data-type or parent of it if above failed then.
> 3. Vararg of this data-type will match if above 2-failed.
> 
> 
>