Skip to content

Commit 9c8ab96

Browse files
committed
Update REDME.md and podfile
1 parent 6ae2dbb commit 9c8ab96

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

FloatingLabelTextFieldSwiftUI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'FloatingLabelTextFieldSwiftUI'
11-
s.version = '4.1.0'
11+
s.version = '4.2.0'
1212
s.summary = 'A beautiful floating label textfield library written in SwiftUI.'
1313

1414
s.description = <<-DESC

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,11 @@ struct ThemeTextFieldStyle: FloatingLabelTextFieldStyle {
101101
.textFont(.system(size: 15)) // Sets the text font.
102102
.placeholderColor(.gray) // Sets the placeholder color.
103103
.placeholderFont(.system(size: 15)) // Sets the placeholder font.
104-
.errorColor(.red) /// Sets the error color.
105-
.addDisableEditingAction([.paste]) /// Disable text field editing action. Like cut, copy, past, all etc.
104+
.errorColor(.red) // Sets the error color.
105+
.addDisableEditingAction([.paste]) // Disable text field editing action. Like cut, copy, past, all etc.
106+
.enablePlaceholderOnFocus(true) // Enable the placeholder label when the textfield is focused.
107+
.allowsHitTesting(true) // Whether this view participates in hit test operations.
108+
.disabled(false) // Whether users can interact with this.
106109
}
107110
}
108111
```

0 commit comments

Comments
 (0)