Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DynamicForm with canEdit=false: includeFrom item remains editable

    SmartClient Version: v10.0p_2014-10-18/EVAL Development Only (expires 2014.12.17_14.26.18) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

    Chrome on Mac OSX

    please try this test case in the showcase, #SQLsqlIncludeFrom sample:
    Code:
    isc.DynamicForm.create({
        ID:"cityForm",
        dataSource:cityIncludeFromSQL,
        canEdit: false, 
        items: [
            { name: "cityName" },
            { name: "countryId" },
            { name: "continent" }
        ]
    });
    you'll see that the 'continent' FormItem remains editable (in the dataSource it is included from another datasource).

    Also, there's another problem related to this field:
    if you add canEdit:false to the FormItem, it behaves correctly.
    Instead, if you add canEdit="false" to the dataSource.field, the FormItem remains editable.

    #2
    Originally posted by claudiobosticco View Post
    SmartClient Version: v10.0p_2014-10-18/EVAL Development Only (expires 2014.12.17_14.26.18) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

    Chrome on Mac OSX

    please try this test case in the showcase, #SQLsqlIncludeFrom sample:
    Code:
    isc.DynamicForm.create({
        ID:"cityForm",
        dataSource:cityIncludeFromSQL,
        canEdit: false, 
        items: [
            { name: "cityName" },
            { name: "countryId" },
            { name: "continent" }
        ]
    });
    you'll see that the 'continent' FormItem remains editable (in the dataSource it is included from another datasource).

    Also, there's another problem related to this field:
    if you add canEdit:false to the FormItem, it behaves correctly.
    Instead, if you add canEdit="false" to the dataSource.field, the FormItem remains editable.
    and actually 'An included field is canEdit:false by default.'

    So is this the real problem? That the included field remains editable? Or is it expected that the FormItem appearance won't change?

    Comment


      #3
      We see the issue and we'll update here when it's been fixed

      Comment


        #4
        This has been fixed for builds dated October 23 and later.

        Comment


          #5
          SmartClient Version: v10.0p_2014-10-28/EVAL Development Only (expires 2014.12.27_08.11.04) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

          verified, thank you very much

          Comment

          Working...
          X