Skip to content

Commit 547c823

Browse files
committed
docs: Update README.md
1 parent 495cdd9 commit 547c823

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
isFirstResponder: Bool = false,
3535
placeholder: String? = nil,
3636
onEditing: ((String) -> Void)? = nil,
37-
onCommitted: (() -> Void)? = nil,
3837
didBeginEditing: (() -> Void)? = nil,
3938
didEndEditing: (() -> Void)? = nil
4039
)
@@ -77,8 +76,6 @@ struct ContentView: View {
7776
.font(.system(size: 14, weight: .bold, design: .default))
7877
RespondableTextField(text: $text1, tag: 0, isFirstResponder: true, placeholder: "1st") { value in
7978
print("onEditing: \(value)")
80-
} onCommitted: {
81-
print("onCommitted")
8279
} didBeginEditing: {
8380
print("didBeginEditing")
8481
} didEndEditing: {
@@ -94,8 +91,6 @@ struct ContentView: View {
9491
.font(.system(size: 14, weight: .bold, design: .default))
9592
RespondableTextField(text: $text2, tag: 1, placeholder: "2nd") { value in
9693
print("onEditing: \(value)")
97-
} onCommitted: {
98-
print("onCommitted")
9994
} didBeginEditing: {
10095
print("didBeginEditing")
10196
} didEndEditing: {
@@ -113,8 +108,6 @@ struct ContentView: View {
113108
.font(.system(size: 14, weight: .bold, design: .default))
114109
RespondableTextField(text: $text3, tag: 2, placeholder: "3rd") { value in
115110
print("onEditing: \(value)")
116-
} onCommitted: {
117-
print("onCommitted")
118111
} didBeginEditing: {
119112
print("didBeginEditing")
120113
} didEndEditing: {
@@ -133,8 +126,6 @@ struct ContentView: View {
133126
.font(.system(size: 14, weight: .bold, design: .default))
134127
RespondableTextField(text: $text4, tag: 3, placeholder: "4th") { value in
135128
print("onEditing: \(value)")
136-
} onCommitted: {
137-
print("onCommitted")
138129
} didBeginEditing: {
139130
print("didBeginEditing")
140131
} didEndEditing: {

0 commit comments

Comments
 (0)