Skip to content

Total amount in live demo example (see https://www.dlite.io) #66

Answered by renaudpawlak
HFolkertH asked this question in Q&A
Discussion options

You must be logged in to vote

Here is a probably better solution (variant of solution 1) where you directly set the data of the totalAmount input.

{
  "cid": "container-2",
  "type": "ContainerView",
  "dataType": "object",
  "layout": "block",
  "components": [
    {
      "cid": "datepicker-0",
      "type": "DatepickerView",
      "dataType": "datetime",
      "label": "Due date",
      "disabled": false,
      "eventHandlers": [],
      "field": "dueDate",
      "dataSource": "$parent"
    },
    {
      "cid": "card-0",
      "type": "CardView",
      "title": "",
      "subTitle": "",
      "imgSrc": "",
      "imgPosition": "top",
      "imgWidth": "",
      "imgHeight": "",
      "text": "",
      "headerEnabled"

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@HFolkertH
Comment options

@renaudpawlak
Comment options

Answer selected by renaudpawlak
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants