[SearchField] Fix build error, bug #25448