examples/bootstrap/contact.bjs
authorMicheal <micheal@roojs.com>
Wed, 3 Dec 2014 08:11:18 +0000 (16:11 +0800)
committerMicheal <micheal@roojs.com>
Wed, 3 Dec 2014 08:11:18 +0000 (16:11 +0800)
examples/bootstrap/contact.js

examples/bootstrap/contact.bjs
examples/bootstrap/contact.js

index 05b05d5..7a5e731 100644 (file)
@@ -79,6 +79,7 @@
                                                                         {
                                                                             "String cls" : "form-control",
                                                                             "xtype" : "Input",
+                                                                            "string placeholder" : "Name",
                                                                             "$ xns" : "Roo.bootstrap"
                                                                         }
                                                                     ]
index b6f0d79..88e3a93 100644 (file)
@@ -102,6 +102,7 @@ contact = new Roo.XComponent({
                                                                             '|xns' : 'Roo.bootstrap',
                                                                             cls : 'form-control',
                                                                             xtype : 'Input',
+                                                                            placeholder : 'Name',
                                                                             xns : Roo.bootstrap
                                                                         }
                                                                     ]