Figured out to use val instead of text to get value of search text entry input field.