It seems weird to me that this is setting the form field value after getting called by `search_field_disabled` which just read that value. I couldn't really think of a cleaner way to do this, though, so I'm not 100% sure what to suggest to make it better.