Skip to content

how to generates an array of the specified length #1313

Discussion options

You must be logged in to vote

I did it with _nunjucks and range() and _json.parse.


Here's the code.

lowdefy: 3.23.3
name: Lowdefy starter
global:
  total: 1900
pages:
  - id: welcome
    type: PageHeaderMenu
    properties:
      title: Welcome
    areas:
      content:
        justify: center
        blocks:
          - id: order size
            type: Descriptions
            properties:
              items:
                - label: order size
                  value:
                    _global: total
          - id: jobs_count
            type: NumberInput
            layout:
              span: 12
            properties:
              label:
                extra: how many jobs do you want to split?

Replies: 4 comments 3 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
@Gervwyk
Comment options

@13316090972
Comment options

Comment options

You must be logged in to vote
1 reply
@Gervwyk
Comment options

Answer selected by 13316090972
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants