Announcement

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

  • claudiobosticco
    replied
    SmartClient Version: SNAPSHOT_v13.1d_2024-09-14/AllModules Development Only (built 2024-09-14)

    I see it's fixed, thank you very much

    Leave a comment:


  • Isomorphic
    replied
    Thanks for the report Claudio. This is fixed in builds starting on Sep 14.

    Leave a comment:


  • claudiobosticco
    started a topic 13.1 bug with DynamicForm and *When rules

    13.1 bug with DynamicForm and *When rules

    SmartClient Version: SNAPSHOT_v13.1d_2024-09-10/AllModules Development Only (built 2024-09-10)

    Hello, please try this test case in the fetchOperationFS sample of the showcase:

    Code:
    isc.ListGrid.create({
        ID: "dsListGrid", top: 100,
        width: "100%",
        height: "100%",
        autoFetchData: true,
        dataSource: "supplyItem",
        recordClick: "editForm.editRecord(record)"
    });
    
    
    isc.IButton.create({
        ID: "addButton",
        title: "Add", autoFit: true,
        click: "editForm.editNewRecord()"
    })
    
    isc.DynamicForm.create({
        ID: "editForm", left: 100,
        dataSource: "supplyItem",
        fields: [
            //{name: "itemID", hidden: true},
            {name: "itemName"},
            {
                name: "SKU",
                readOnlyWhen: {fieldName: "itemID", operator: "notNull"}
            }
        ]
    })
    When you click a record in the grid, you'll see that the SKU field remains editable.
    You may uncomment the itemID field in the form to verify that the readOnlyWhen works only if the itemID is explicitly defined in the form.
    This works in the latest 13.0.
Working...
X