@momo-kits/native-kits 0.157.3 → 0.157.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -89,7 +89,7 @@ public struct InputPhoneNumber: View {
89
89
  MomoText(placeholder, typography: size == .small ? .headerSSemibold : .headerMBold, color: Colors.black12)
90
90
  }
91
91
 
92
- TextField(placeholder, text: textBinding, onEditingChanged: { focused in
92
+ TextField("", text: textBinding, onEditingChanged: { focused in
93
93
  handleFocusChange(focused)
94
94
  })
95
95
  .keyboardType(.numberPad)
@@ -98,6 +98,7 @@ public struct InputPhoneNumber: View {
98
98
  .applyPrimaryCursorColor()
99
99
  .lineLimit(1)
100
100
  .accessibility(identifier: accessibilityLabel ?? "")
101
+ .accessibilityValue(textBinding.wrappedValue.isEmpty ? placeholder : textBinding.wrappedValue)
101
102
  }
102
103
 
103
104
  // Clear button
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.157.3",
3
+ "version": "0.157.4",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},