Announcement

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

    browserInputType "email" with ComboBoxItem error

    Hello, I just noticed that if I add browserInputType: "email" to a ComboBoxItem (with addUnknownValues:true), when I choose a value from the pickList I get this error:

    Code:
    [Warning] *23:02:22.175:WARN:Log:InvalidStateError: The input element's type ('email') does not support selection. (ISC_Core.js, line 33352)
    Stack from error.stack:
    setSelectionRange@[native code]
    setSelectionRange@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js:37470:38
    invokeSuper@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:7448:49
    Super@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:7265:32
    setSelectionRange@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js:53816:26
    selectValue@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js:37530:31
    pickValue@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js:75536:44
    itemClick@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js:54979:35
    recordClick@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js:54866:31
    rowClick@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Grids.js:47294:29
    invokeSuper@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:7448:49
    Super@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:7265:32
    rowClick@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js:54783:19
    anonymous@
    _rowClick@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Grids.js:13678:40
    invokeSuper@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:7448:49
    Super@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:7265:32
    _rowClick@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Grids.js:15730:35
    click@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Grids.js:13634:26
    handleClick@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:106181:38
    bubbleEvent@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:64543:44
    handleClick@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:61550:35
    _handleMouseUp@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:61235:65
    handleMouseUp@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:61076:40
    dispatch@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:66359:34
    anonymous@
    [Error] InvalidStateError: The input element's type ('email') does not support selection.
        dispatch (ISC_Core.js:66363)
        anonymous (Script anonimo 1 (linea 3:138))
    is this a not supported setting, or is it a bug?

    #2
    "SNAPSHOT_v13.1d_2024-11-06/AllModules Development Only"

    actually addUnknownValues is not required, test case:

    Code:
    isc.DynamicForm.create({
        width: 500,
        numCols: 4,
        isGroup: true,
        groupTitle: "List - ComboBox",
        wrapItemTitles: false,
        fields : [{
            name: "itemName", title: "Item Name", editorType: "ComboBoxItem",
            optionDataSource: "supplyItem", pickListWidth: 250,browserInputType: "email"
        }]
    });
    just open the pickList and select an option:
    ​​​​​​​
    Code:
    Uncaught DOMException: An attempt was made to use an object that is not, or is no longer, usable
        setSelectionRange https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js?isc_version=13.1-d20241106.js:37476
        invokeSuper https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:7448
        Super https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:7265
        setSelectionRange https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js?isc_version=13.1-d20241106.js:53823
        selectValue https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js?isc_version=13.1-d20241106.js:37536
        pickValue https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js?isc_version=13.1-d20241106.js:75543
        itemClick https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js?isc_version=13.1-d20241106.js:54986
        recordClick https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js?isc_version=13.1-d20241106.js:54873
        rowClick https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20241106.js:47310
        invokeSuper https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:7448
        Super https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:7265
        rowClick https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Forms.js?isc_version=13.1-d20241106.js:54790
        anonymous https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js line 2645 > Function:4
        _rowClick https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20241106.js:13688
        invokeSuper https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:7448
        Super https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:7265
        _rowClick https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20241106.js:15737
        click https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Grids.js?isc_version=13.1-d20241106.js:13644
        handleClick https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:106193
        bubbleEvent https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:64555
        handleClick https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:61562
        _handleMouseUp https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:61247
        handleMouseUp https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:61088
        dispatch https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:66367
        anonymous https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js line 2645 > Function:3
        captureEvent https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:66466
        captureEvents https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:66638
        <anonymous> https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241106.js:69912
    ISC_Forms.js:37476

    Comment

    Working...
    X