@RodneyA, You were creating an error by not fulfilling the API requirement, someone gave you a solution to your problem, but you rejected the solution based on the requirements of how the .searchable(text:) modifier is supposed to be used. Either read the API documentation first and research how the APIs are to be used beforehand, and then when you have an issue, ask a question. No one is here to do your homework for you because this is what it sounds like.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: