Have a look here: https://www.appypievibe.ai/blog/working-with-binding-in-swiftui#:~:text=In%20SwiftUI%2C%20you%20can%20create,and%20also%20stores%20its%20value
or here: https://stackoverflow.com/questions/59247183/swiftui-state-vs-binding
Binding does not cause the View to update the body, which State does.
So, it's normal it is nor updated.
You can see that boundValue is not updated by adding onSubmit:
TextField("Bound value", value: $boundValue, format: .number)
.onSubmit {
print("Textfield submitted", boundValue)
}
Topic:
UI Frameworks
SubTopic:
SwiftUI