1. #1
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      1  

    Default Ext.tux.form.FieldContainer - Create complex form fields

    Ext.tux.form.FieldContainer - Create complex form fields


    Hey guys,
    this thread just to share with you a really simple ux that will allow you to create complex form fields by defining different rows where each of those will contains textfields, selectfields, etc..




    You can download the extension and a full working example from the following repo:
    https://github.com/AndreaCammarata/Ext.tux.form.FieldContainer

    As always any feedback is appreciated.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Version 0.2 released with a couple of small changes:
    • src/form/FieldContainer.js: Renamed the "items" config property to "rows".
    • examples/views/Address.js: Conformed the AddressField example to the new component configuration.
    If you already using this ux, all you need to do to update your app is to rename the "items" config to "rows" and remove all the layout configurations you provided for each row. The rows config will be handled automatically by the component.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  3. #3
    Sencha User halogen's Avatar
    Join Date
    Jun 2012
    Posts
    11
    Vote Rating
    0
    halogen is on a distinguished road

      0  

    Default


    Exactly what I was looking for; thanks! I'm using it to make a row of side-by-side buttons with numbers on them (as an alternative to slider) and to make a 'distance' field which is just a textfield with 'mi' and 'km' buttons to the right that function as a toggle.

  4. #4
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Glad to hear it helped you
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  5. #5
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Quote Originally Posted by AndreaCammarata View Post
    You can download the extension and a full working example from the following repo:
    https://github.com/AndreaCammarata/Ext.tux.form.FieldContainer
    As always any feedback is appreciated.
    The link seems to be broken. Have you removed it? Thanks.

  6. #6

  7. #7
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Quote Originally Posted by wkh7777 View Post
    This component is now part of a Sencha Touch components bundle available on github at:
    https://github.com/AndreaCammarata/TUX

    I suggest you to clone the repository and look at the examples.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  8. #8
    Sencha User wkh7777's Avatar
    Join Date
    Jun 2014
    Posts
    18
    Vote Rating
    -1
    wkh7777 is an unknown quantity at this point

      0  

    Default


    Quote Originally Posted by AndreaCammarata View Post
    This component is now part of a Sencha Touch components bundle available on github at:
    https://github.com/AndreaCammarata/TUX

    I suggest you to clone the repository and look at the examples.
    Thank you very much!!!!!!!