Creates a new SearchField. They have a parent and a finder function.
Parameters
parent - The parent object.
uiFinder - The function will return the axuielement for the SearchField.
convertFn - (optional) If provided, will be passed the string value when returning.
Returns
The new SearchField.
Notes
Additionally, an optional convert function can be provided, with the following signature:
function(textValue) -> anything
The value will be passed to the function before being returned, if present. All values passed into value(x) will be converted to a string first via tostring.
For example, to have the value be converted into a number, simply use tonumber like this: