We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1fd3fb8 + 811bf17 commit 301f9f0Copy full SHA for 301f9f0
JVFloatLabeledTextField/JVFloatLabeledTextField/JVFloatLabeledTextField.m
@@ -148,8 +148,6 @@ - (void)showFloatingLabel:(BOOL)animated
148
else {
149
showBlock();
150
}
151
-
152
- self.accessibilityLabel = self.floatingLabel.text;
153
154
155
- (void)hideFloatingLabel:(BOOL)animated
@@ -173,8 +171,6 @@ - (void)hideFloatingLabel:(BOOL)animated
173
171
174
172
hideBlock();
175
176
177
- self.accessibilityLabel = nil;
178
179
180
- (void)setLabelOriginForTextAlignment
@@ -202,6 +198,7 @@ - (void)setLabelOriginForTextAlignment
202
198
203
199
- (void)setFloatingLabelText:(NSString *)text
204
200
{
201
+ self.accessibilityLabel = text;
205
_floatingLabel.text = text;
206
[self setNeedsLayout];
207
0 commit comments