Skip to content

[Bug]: 3.1.49 won't populate the current value on edit page #151

@ariaieboy

Description

@ariaieboy

What happened?

I have a select tree that, after updating to version 3.1.49, doesn't show the current value when editing a resource.

It works fine for creating or editing the value, but doesn't show the current value when we want to edit a resource.

It works perfectly fine on version 3.1.48

How to reproduce the bug

SelectTree::make('category_id')
                                ->dehydrated(true)
                                ->relationship('category', 'title', 'parent_id')
                                ->searchable()
                                ->reactive()
                                ->required()

Package Version

3.1.49

PHP Version

8.4.0

Laravel Version

12.x

Which operating systems does with happen with?

No response

Notes

No response

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