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

ListField bug, does not allow 0 as a key #1992

Open
AidasK opened this issue Oct 18, 2024 · 0 comments
Open

ListField bug, does not allow 0 as a key #1992

AidasK opened this issue Oct 18, 2024 · 0 comments
Labels
bug Something isn't working unconfirmed

Comments

@AidasK
Copy link
Contributor

AidasK commented Oct 18, 2024

  • Lunar version: 1.0.0-beta.3
  • Laravel Version: 10
  • PHP Version: 8.3
  • Database Driver & Version: Mysql

Expected Behaviour:

It should be allowed to start a list with a key 0 as in regular array

Actual Behaviour:

It deletes all the values if there is a key 0 and also deletes all the duplicate fields if they have the same key.

list-field.bug.mov

Steps To Reproduce:

Create an attribute with ListField type and fill it with key 0

@AidasK AidasK added bug Something isn't working unconfirmed labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

1 participant