TagKit
TagKit copied to clipboard
Why not storing the text of TagTextField locally?
I wonder why it has to be provided from outside and not internally?
@State private var theText: String = ""
If needed, then we can add
private var theTextBinding: Binding<String>{
return Binding<String>(
get: { return self.theText.slugified()},
set: { self.theText = $0.slugified()}
)
}
Woudn't that be easier?