You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2016/11/04 22:49:13 UTC

[12/36] git commit: [flex-asjs] [refs/heads/feature/mdl] - Introducing js:Form

Introducing js:Form


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/70074e36
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/70074e36
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/70074e36

Branch: refs/heads/feature/mdl
Commit: 70074e362f805764c0e212b0f714c07f386d8c64
Parents: 3a86736
Author: Carlos Rovira <ca...@apache.org>
Authored: Mon Oct 17 11:54:29 2016 +0200
Committer: Carlos Rovira <ca...@apache.org>
Committed: Fri Nov 4 23:48:31 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/70074e36/examples/flexjs/MDLExample/src/main/flex/App.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index 37e9e6a..b94a0d7 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -56,11 +56,12 @@ limitations under the License.
             </js:Container>
 
             <!-- Text Fields :: https://getmdl.io/components/index.html#textfields-section -->
-            <js:Container className="mdl-textfield mdl-js-textfield">
-                <js:TextInput className="mdl-textfield__input" id="sample1"/>
-                <js:Label className="mdl-textfield__label" text="Text..."/>
-            </js:Container>
-
+            <js:Form action="http://www.google.com">
+                <js:Container className="mdl-textfield mdl-js-textfield">
+                    <js:TextInput className="mdl-textfield__input" id="sample1"/>
+                    <js:Label className="mdl-textfield__label" text="Text..."/>
+                </js:Container>
+            </js:Form>
             
         </js:View>
     </js:initialView>