Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-3554 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Sep 2012
    Location
    Port Orange, FL
    Posts
    5
    Vote Rating
    0
    pcazella is on a distinguished road

      0  

    Default Can not create custom property 'Layout' as object for radiogroup

    Can not create custom property 'Layout' as object for radiogroup


    Architect Build tested:
    • Build: 894
    Project Type:
    • ExtJS 4.1
    Description:
    • On a xType radiogroup, I was trying to add a custom property for layout to set the type and align using an object, but the designer forces a string for only the type. Therefore, I can not set any other configuration for the layout other than the type
    Steps to reproduce the problem:
    • Create a form panel with a radio group and multiple radio buttons
    • click on the radio group in the designer and create a new property for 'layout'
    • Set the property to be of type 'object'
    • Attempt to create a config object
    The result that was expected:
    • able to configure the property as | layout : { type: 'vbox', align: 'left' }
    The result that occurs instead:
    • Object value was treated as a string literal for the type config only
    • layout : {type: '{ type: \'vbox\', align: \'left\' }'}
    Operating System:
    • Win 8

  2. #2
    Sencha User jjohnston's Avatar
    Join Date
    Sep 2010
    Posts
    567
    Vote Rating
    20
    jjohnston will become famous soon enough jjohnston will become famous soon enough

      0  

    Default


    This is indeed a bug; we should be exposing the layout for checkboxgroup and radiogroup. It will be done via the normal layout config mechanism, however, and not via a custom object config like you were hacking it to do before.

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2012
    Location
    Port Orange, FL
    Posts
    5
    Vote Rating
    0
    pcazella is on a distinguished road

      0  

    Default


    Sounds great! Thanks for confirming the issue so quickly.

Thread Participants: 1

Tags for this Thread