Skip to content

FieldList improvement to handle entries with indices#901

Merged
azmeuk merged 1 commit intopallets-eco:mainfrom
azmeuk:256-fieldlist-improvements
May 7, 2026
Merged

FieldList improvement to handle entries with indices#901
azmeuk merged 1 commit intopallets-eco:mainfrom
azmeuk:256-fieldlist-improvements

Conversation

@azmeuk
Copy link
Copy Markdown
Member

@azmeuk azmeuk commented May 5, 2026

  • add FieldList.insert_entry
  • add FieldList.pop_entry index parameter
  • fields are not sorted by their ids, but by their position in the form (this allow reordering of fields, insertion of new fields between two consecutive ids, etc.)

fixes #256

@azmeuk azmeuk added enhancement New feature, or existing feature improvement labels May 5, 2026
@azmeuk azmeuk force-pushed the 256-fieldlist-improvements branch 4 times, most recently from 43dc0c9 to bccfcae Compare May 7, 2026 07:44
- add FieldList.insert_entry
- add FieldList.pop_entry index parameter
@azmeuk azmeuk force-pushed the 256-fieldlist-improvements branch from bccfcae to 0458e58 Compare May 7, 2026 08:07
@azmeuk azmeuk merged commit b4d64ae into pallets-eco:main May 7, 2026
17 checks passed
@azmeuk azmeuk deleted the 256-fieldlist-improvements branch May 7, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, or existing feature improvement

Development

Successfully merging this pull request may close these issues.

Make deletion of FieldList.entries entry possible (not only the last entry)

1 participant