Today’s very hard-won lesson: be careful how you do TextField content filtering! We were filtering input to a text field (making sure the field only accepted numbers, etc.) like so:
@Binding var value: String
TextField( placeholder, text: $value )
.onReceive( Just( value ), perform: {
self.value = self.contentType.filterCharacters( oldValue: $0 )
})