Skip to content

Returns array instead of string with Livewire 1.0 and up #846

@mokhosh

Description

@mokhosh

Describe the bug
When I use simple selects with Liwewire I have no problem. But with Choices I get an Array as the value instead of a string.

To Reproduce
Steps to reproduce the behavior:

  1. Create a simple Laravel Livewire project
  2. Use s simple Choices select element
  3. Get the value of the select

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions