FloatingLabelTextFieldSwiftUI
FloatingLabelTextFieldSwiftUI copied to clipboard
Binding<Int>
In the example, how would you make it work if the mobile number where an Integer instead of a String?
@nicobelo91 You can use
Binding<Int>.init { "\(intField)" } set: { value in intField = Int(value) }