Detects edits to the search field