Results 1 to 2 of 2

Thread: FORM with readOnly property in fieldDefaults doesn't work

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member ebett's Avatar
    Join Date
    Nov 2010
    Location
    Argentina
    Posts
    31

    Exclamation FORM with readOnly property in fieldDefaults doesn't work

    Tested in ExtJS 5.1.0.107 GPL

    Hi, i have a form with this configuration:
    Code:
    fieldDefaults: {
            labelAlign: 'top',
            labelSeparator:'',
            labelStyle:'color:#231F20',
            readOnly: true,   //This doesn't work
    //    editable: false,     //This works!
            margin:'10 0 0 8',                
            msgTarget: 'side',
            invalidCls: ''            
        },
    But, if i set readOnly:true in each field, it work
    Code:
    {xtype:'textfield', name:'name', readOnly:true}
    Fiddle example:
    https://fiddle.sencha.com/#fiddle/bi5

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. I see the behavior, but it looks like this issue has been fixed -- I can't reproduces against the latest nightly.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •