From edb8ad9cfa2c977042e16f35803ba3561cd86fa5 Mon Sep 17 00:00:00 2001 From: Thomas Guillory Date: Wed, 9 Mar 2016 19:01:18 +0100 Subject: [PATCH] [TextField] Add floatingLabelFixed property Currently there is no way to force the floating label to float. --- .../pages/components/TextField/ExampleSimple.jsx | 5 +++++ src/TextField/TextField.jsx | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/src/app/components/pages/components/TextField/ExampleSimple.jsx b/docs/src/app/components/pages/components/TextField/ExampleSimple.jsx index e7fdad43767b51..60f7e06d077618 100644 --- a/docs/src/app/components/pages/components/TextField/ExampleSimple.jsx +++ b/docs/src/app/components/pages/components/TextField/ExampleSimple.jsx @@ -18,6 +18,11 @@ const TextFieldExampleSimple = () => ( hintText="Hint Text" floatingLabelText="Floating Label Text" />
+
{floatingLabelText} @@ -501,7 +507,8 @@ const TextField = React.createClass({ {hintText ? :