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),
]),
]);
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.