Textarea with optional format buttons


According to the textarea field the buttons are optional

What should I include in the blueprint so that the buttons do not show?

Iā€™m not sure there is anything you can add to the config:

Textarea class (panel/app/fields/textarea):

public function __construct() {
    $this->label   = l::get('fields.textarea.label', 'Text');
    $this->buttons = true;

You could always extend the class to override it.

1 Like

Thanks! After looking at the class I tried buttons: false and it worked!