I don't know why you are making this about a List when the example doesn't use a list. There is no requirement that a List be used with a .searchable() modifier. The use of a List does not explain this error at all.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: