You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With .placeholderAnimation = .hidden, setting .text = nil programmatically does not properly re-show the placeholder. It is fixed if you open then close the keyboard.
XCode 8.3, Material 2.9.4
Working:
After setting to nil from having text (i.e. to clear):
The text was updated successfully, but these errors were encountered:
Pwootage
changed the title
Text field placeholder with placeholderAnimation set to none not appearing when text set to nil programmatically
Text field placeholder with placeholderAnimation set to none not appearing when text set to nil
Sep 6, 2017
With
.placeholderAnimation = .hidden
, setting.text = nil
programmatically does not properly re-show the placeholder. It is fixed if you open then close the keyboard.XCode 8.3, Material 2.9.4
Working:

After setting to nil from having text (i.e. to clear):

The text was updated successfully, but these errors were encountered: