Select option values not honoured when using integer keys #177
ReadingPride
started this conversation in
Ideas
Replies: 1 comment
-
Feel free to create a PR that fixes this. 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There appears to be an issue where when you're using an integer for a key the sequence gets reset to 0,1,2,3... rather than retaining the original value.
This is particularly noticeable when using
mapWithKeys
from a laravel collection i.e.This works fine when using non-int keys, however casting the int to string doesn't resolve the issue either.
Example below is used from inside a lara view component render method:
Beta Was this translation helpful? Give feedback.
All reactions