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

Select variant="listbox" error on listing selected option on "edit" mode #90

Closed
wevertondcl opened this issue Sep 25, 2024 · 2 comments
Closed

Comments

@wevertondcl
Copy link

When listing values using a select with the listbox variant, the previously saved option is not automatically selected according to the wire:model passed in, eg: <flux:select wire:model=form.variable>

@wevertondcl
Copy link
Author

Ok, this is related when using integer variable on wire:model=form.INTEGER.VARIABLE.
When using as string, everything works as expected.

@craigcordell
Copy link

Should this be closed? Can we not use an integer as the value to select?

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

No branches or pull requests

2 participants