Skip to content

Add new property not in the end #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CarlosNZ opened this issue Dec 12, 2024 Discussed in #131 · 6 comments · Fixed by #136
Closed

Add new property not in the end #132

CarlosNZ opened this issue Dec 12, 2024 Discussed in #131 · 6 comments · Fixed by #136
Labels
user request Requested by user

Comments

@CarlosNZ
Copy link
Owner

Discussed in #131

Originally posted by Set27 December 13, 2024
Is it possible?
I don't see ways how to implement it.

@CarlosNZ CarlosNZ added the user request Requested by user label Dec 12, 2024
@CarlosNZ
Copy link
Owner Author

Will consider adding as an option.

@CarlosNZ
Copy link
Owner Author

Hi @Set27, you can now do this in v1.18.0

Use the insertAtTop prop, as detailed here

@Set27
Copy link

Set27 commented Dec 17, 2024

Hi @Set27, you can now do this in v1.18.0

Use the insertAtTop prop, as detailed here

Thank you for your work.
But do you consider option, to have custom field where I can choose between what elements I can insert new property?

@CarlosNZ
Copy link
Owner Author

But do you consider option, to have custom field where I can choose between what elements I can insert new property?

Can you give me an example?

@Set27
Copy link

Set27 commented Dec 17, 2024

But do you consider option, to have custom field where I can choose between what elements I can insert new property?

Can you give me an example?

Let's imagine I have an array of 5 elements.
I want to add a new element in between the third and fourth elements

@CarlosNZ
Copy link
Owner Author

Let's imagine I have an array of 5 elements.
I want to add a new element in between the third and fourth elements

Are you suggesting having that in the UI for the user to select? You can always use drag-n-drop to move it to where you want.

Or are you wanting to configure it in the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user request Requested by user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants