CodeWithDennis / filament-select-tree

The multi-level select field lets you pick one or multiple options from a list that is neatly organized into different levels.
MIT License
225 stars 32 forks source link

[Bug]: more than one SelectTree in form #107

Closed MiranSalehi closed 4 months ago

MiranSalehi commented 6 months ago

What happened?

Screenshot 1403-01-31 at 12 55 18 PM

In this case, only the last SelectTree save on create and edit page

How to reproduce the bug

I have two types of category and need two SelectTrees

Package Version

3.1

PHP Version

8.3.4

Laravel Version

11

Which operating systems does with happen with?

macOS

Notes

No response

CodeWithDennis commented 6 months ago

Interesting, could you try and add ->id('someKey') (different key names) Curious if that works.

MiranSalehi commented 6 months ago

Interesting, could you try and add ->id('someKey') (different key names) Curious if that works.

yes, I have tried it, but it still doesn't work. @CodeWithDennis

CodeWithDennis commented 6 months ago

Interesting, could you try and add ->id('someKey') (different key names) Curious if that works.

yes, I have tried it, but it still doesn't work. @CodeWithDennis

I will do some more digging when i can

MiranSalehi commented 6 months ago

Interesting, could you try and add ->id('someKey') (different key names) Curious if that works.

yes, I have tried it, but it still doesn't work. @CodeWithDennis

I will do some more digging when i can

thanks

CodeWithDennis commented 5 months ago

@MiranSalehi Sorry for the delayed response, but I couldn't reproduce the issue.

https://github.com/CodeWithDennis/filament-select-tree/assets/23448484/59e28650-a441-4df0-82e9-c8ed1b491009

MiranSalehi commented 5 months ago

@MiranSalehi Sorry for the delayed response, but I couldn't reproduce the issue.

Schermopname.2024-05-30.om.10.09.12.mov

Thank you for following up on this issue, I must have made a mistake somewhere

CodeWithDennis commented 5 months ago

Let me me know if you can find the problem.

MiranSalehi commented 5 months ago

Let me me know if you can find the problem.

sure