Index: sky/framework/components/input.dart |
diff --git a/sky/framework/components/input.dart b/sky/framework/components/input.dart |
index f264b4a4d88589bfbbfc464c1dc1551f7b0e0c19..6ab0cd7dbe9369d177359613be8ca4637d9abd3f 100644 |
--- a/sky/framework/components/input.dart |
+++ b/sky/framework/components/input.dart |
@@ -75,7 +75,7 @@ class Input extends Component { |
if (placeholder != null && _value.isEmpty) { |
children.add(new Container( |
- style: _placeholderStyle, |
+ styles: [_placeholderStyle], |
children: [new Text(placeholder)] |
)); |
} |
@@ -83,7 +83,7 @@ class Input extends Component { |
children.add(new EditableText(value: _editableValue, focused: focused)); |
return new Container( |
- style: _style, |
+ styles: [_style], |
inlineStyle: focused ? _focusedInlineStyle : null, |
children: children |
); |