I want to get notified when the user is done writing text in a TextField in SwiftUI.
The senario in as follows:
-the user enters text in a TextField.
-when the user wrote a string that is longer then 3 characters and paused or finished writing I want the app to get notified so I can work with that String.
tried .onEditingChanged but it will call the action with each change and not only when the user finished editing.
Try below code, this way you can check the real time value entered by user in a textfield.