Skip to content

[Bug]: Field not dehydrating the state #131

Description

@planetarquasar

What happened?

I am tried the field. Filled with value. Then removed the value. I submitted the form and still saved the recently removed value. After some research the component dehydration not working. Visually deleting the value from the field but from the state don't

How to reproduce the bug

The reproduction is simple. Add the component to a form without ->required(). Then for example on create page. Select a date, then remove the date, then submit the form. You will see that the recently removed date is saved.

Package Version

4.1.0

PHP Version

8.4.0

Laravel Version

12.22.1

Which operating systems does with happen with?

Windows

Notes

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions