Repeater field & Repeatable order / position save to hasMany models #5846
Replies: 2 comments
-
|
Repeater field has up/down arrows to change the display order it would be great if we could link this to our own field/column. For example when using with hasMany relation and upserting, it would be ideal to be able to have a custom order column that stores this position so that it can be used as a display order for the records when queried elsewhere by business logic. With the JSON I don't think it would be necessary as the array would already have the order, however someone might have a use for it to be stored there too. Some challenges may be:
|
Beta Was this translation helpful? Give feedback.
-
|
At this moment it is possible to store an order of items - by skipping the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Repeater field has the ability to change the order of individual items. How to save this value to the database, e.g. in the order or position field when using hasMany(). There is nothing in the documentation about this.
Detailed steps to reproduce the issue on a fresh Nova installation:
Beta Was this translation helpful? Give feedback.
All reactions