Skip to content

Suggestion: hidden list field with current item index #172

@josineto

Description

@josineto

The idea is: in a List widget with fields (e.g. not "simple string list"), one could add a hidden field that holds the index of the current item in that list, like:

list:
- fruit: apple
  index: 0 # <---
- fruit: banana
  index: 1 # <---

It could be a hidden widget with default: '{{index}}', or a compute widget with value: '{{index}}', or even something else...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions