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

[Help wanted]: Need more description for options #78

Closed projct1 closed 9 months ago

projct1 commented 9 months ago

What happened?

What is independent, expandSelected, grouped? Switching these options I didn't notice any difference :( Need more examples plz :)

How to reproduce the bug

public static function form(Form $form): Form
{
    return $form
        ->schema([
            TextInput::make('name')->maxLength(255)->required(),
            TextInput::make('slug')->maxLength(255)->required(),
            TextInput::make('position')->numeric(),
            SelectTree::make('parent_id')
                ->withCount()
                ->enableBranchNode()
                ->relationship('parent', 'name', 'parent_id')
        ]);
}

Package Version

3.1

PHP Version

8.3

Laravel Version

10.43

Which operating systems does with happen with?

No response

Notes

No response

CodeWithDennis commented 9 months ago

It seems like there might be a language barrier. Please read the instructions carefully as it does what it says.