Announcement

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

    Numeric input behaves differently

    I have create a Numberic input in a Dynamic form using this:

    {
    name : "totalAsset",
    titel : "Total Asset",
    prompt : "Total Asset"
    type: "integer"
    }

    Open the form:
    1. Type 80000 in the field
    2. Delete last 2 digits => update total = 800
    3. Now i did setValue as : dfAccount.getField("totalAsset").setValue("80000");
    4. Value is updated to 80000
    5. WHen I hover over the Input field, its getting changed to 800

    Anybody faced this isssue? or know how to fix it ?


    #2
    You didn't mention your version or build-date, but that FormItem definition is invalid, as written - "title" is misspelled and there's no comma after the prompt.

    If we correct those things (our code below) we see things work correctly, and do not see the behavior you describe.

    So, you'll need to let us know your version details and show more complete code that demonstrates the problem before we can help further.

    Code:
    isc.DynamicForm.create({
        fields: [
            {
                name : "totalAsset",
                title : "Total Asset",
                prompt : "Total Asset",
                type: "integer"
            }
        ]
    });
    Last edited by Isomorphic; 25 Oct 2021, 00:42.

    Comment


      #3
      Sorry. Its not an issue. Its due to thousand formatting of this field. Please ignore

      Comment

      Working...
      X