d
This commit is contained in:
@@ -10,6 +10,7 @@ struct V: View {
|
||||
Text("'\(vm.text)'")
|
||||
.fontWeight(.bold)
|
||||
}
|
||||
/*
|
||||
TextField("Placeholder", text: $vm.text)
|
||||
.padding(8)
|
||||
.border(Color.red, width: 2)
|
||||
@@ -17,6 +18,10 @@ struct V: View {
|
||||
TextField("Binding-2", text: vm.bt2)
|
||||
.padding(8)
|
||||
.border(Color.blue, width: 2)
|
||||
*/
|
||||
TextField("Binding-3", value: $vm.t3, formatter: SrcFmt())
|
||||
.padding(8)
|
||||
.border(Color.green, width: 4)
|
||||
}
|
||||
.frame(width: 320)
|
||||
.padding()
|
||||
|
||||
Reference in New Issue
Block a user