Set search input to readonly when disable_search_threshold is met

Set search input to readonly when disable_search_threshold is met. Fixes #1293