Broken: SwiftUI TextField Number Entering

The only way to commit when using SwiftUI TextField is when the user taps "return", but this button is not available when NumPad is used. Taping outside of the TextField or on other TextFields does not automatically trigger commit neither. i.e. if you use formatter with TextField, the actual number will stay a zero no matter what you type in there.

That sounds like a configuration issue with the TextField, as there is no “commit” action as I recall.

Look to the end of the thread: he made a NumberTextField that commits as you type..

Another one here.