Skip to content

Unexpected behavior when sending new values ​​to data range #2200

@oriceon

Description

@oriceon

Flux version

2

Livewire version

4 beta 3

Tailwind version

4

Browser and Operating System

Chrome

What is the problem?

If i change date, i get only string with start date not the array with new values..

Code snippets to replicate the problem

<?php

use Livewire\Component;

new class extends Component {

    public ?array $date = [
        'start' => '2025-11-01',
        'end' => '2025-11-10',
    ];

    public function updatedDate($value)
    {
        dd($value);
    }
};
?>

<div>
<flux:date-picker ... wire:model.live="date" />
</div>```

### Screenshots/ screen recordings of the problem

-

### How do you expect it to work?

-

### Please confirm (incomplete submissions will not be addressed)

- [x] I have provided easy and step-by-step instructions to reproduce the bug.
- [x] I have provided code samples as text and NOT images.
- [x] I understand my bug report will be closed if I haven't met the criteria above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions