Skip to content
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

Option for 1-indexed arrays #62

Open
CarlosNZ opened this issue May 19, 2024 · 2 comments
Open

Option for 1-indexed arrays #62

CarlosNZ opened this issue May 19, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@CarlosNZ
Copy link
Owner

Rather than the standard 0-based numbering

@CarlosNZ CarlosNZ added enhancement New feature or request good first issue Good for newcomers labels May 19, 2024
@PrimoUomo89
Copy link

@CarlosNZ I want to help out a bit with this issue to get me more familiar with the repo. Can you give me an idea of what you're imagining in terms of implementation?

@CarlosNZ
Copy link
Owner Author

I just meant that instead of displaying:

Array: [
  0: "My Value"
  1: "Another Value"
  2: "This"
]

It would show:

Array: [
  1: "My Value"
  2: "Another Value"
  3: "This"
]

But only if the prop was set.

I think it should be quite simple to implement, so feel free to have a crack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants