Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

A numeric field added on the nth step does not allow users to add decimal values. Even if there is a pattern that allows decimals, the complete value is blanked out on entering the decimal value.

Add the below code block to the field in the ‘specimenCollection’ section to allow users to enter numeric values on the nth step.

[ {
  "name" : "specimenCollection",
  "view" : null,
  "ctrl" : null,
  "data" : {
    "fieldGroups" : [ {
      "title" : "Anatomic Site",
      "criteria" : {
        "rules" : [ {
          "field" : "specimen.lineage",
          "op" : "==",
          "value" : "'New'"
        } ]
      },
      "fields" : [ {
        "name" : "specimen.label",
        "baseField" : "specimen.label",
        "type" : "span"
      }, {
        "name" : "specimen.anatomicSite",
        "baseField" : "specimen.anatomicSite"
      }, {
        "name" : "specimen.laterality",
        "baseField" : "specimen.laterality"
      }, {
        "name" : "specimen.extensionDetail.attrsMap.how_much_quantity_of_sample_was_used",
        "baseField" : "specimen.extensionDetail.attrsMap.how_much_quantity_of_sample_was_used",
        "modelOpts" : {
          "allowInvalid" : true
          }
      } ]
    }],
    "showCollectionTree" : false
  }
}

Example JSON

Download

  • No labels