© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
5 replies
saineshmamgain

Rule Builder labels being truncated

Hi, I am currently using the new Rule Builder feature in a form.

return $form
            ->schema([
                Section::make()
                    ->schema([
                        TextInput::make('name')
                            ->label('Segment Name')
                            ->required()
                            ->unique(ignoreRecord: true),
                    ]),
                Section::make('Define Rules')
                    ->schema([
                        RuleBuilder::make('rules')
                            ->constraints(static::getConstraints())
                            ->blockPickerColumns(5)
                            ->blockPickerWidth(MaxWidth::FiveExtraLarge->value),
                    ]),
            ]);
return $form
            ->schema([
                Section::make()
                    ->schema([
                        TextInput::make('name')
                            ->label('Segment Name')
                            ->required()
                            ->unique(ignoreRecord: true),
                    ]),
                Section::make('Define Rules')
                    ->schema([
                        RuleBuilder::make('rules')
                            ->constraints(static::getConstraints())
                            ->blockPickerColumns(5)
                            ->blockPickerWidth(MaxWidth::FiveExtraLarge->value),
                    ]),
            ]);


Everything works perfectly except the label of the rules. Since the labels are a bit longer they are truncated and It is difficult to guess the label. Is there any way we can wrap the text of label. Sorry I am not proficient with css.
Screenshot_2024-07-26_at_4.05.36_PM.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Infolist builder. How make labels
FilamentFFilament / ❓┊help
2y ago
Custom numbering of labels using Builder
FilamentFFilament / ❓┊help
3y ago
Builder blocks labels without count if maxItems = 1
FilamentFFilament / ❓┊help
2y ago
Builder schema not being reactive
FilamentFFilament / ❓┊help
2y ago