I have a formatted SiwftUI TextField and I want it to format when editing changes. What would be the correct way of doing that?
TextField("", value: $binding, formatter: $formatter,
onEditingChanged: { (editingChanged) in
//How to force formatting here?
},
onCommit: {
//Here formatting happens.
})