And I added the .foregroundColor behind searchable() modifier and it just works.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: