material-components-ios
material-components-ios copied to clipboard
[TextFields] MDCTextInputControllerOutlined - unable to set isFloatingEnabled to false
This was filed as an internal issue. If you are a Googler, please visit b/138846474 for more details.
Internal data
- Associated internal bug: b/138846474
Any Solution for this problem?
Any update on this bug or possible workaround?
Hi, I recommend you try using our newer text field offering, MDCOutlinedTextField. To use it add MaterialComponents/TextControls+OutlinedTextFields and/or MaterialComponents/TextControls+OutlinedTextFieldsTheming to your podfile. Hope this helps!
There are two ways to avoid floating label behavior in the new text fields. One is to set the labelBehavior to .disappears, and the other is to just not have any label text.