nova-issues icon indicating copy to clipboard operation
nova-issues copied to clipboard

Trix field does not work in Panel

Open webard opened this issue 11 months ago • 1 comments

  • Laravel Version: 10.48.3
  • Nova Version: 4.33.0
  • PHP Version: 8.2.17
  • Database Driver & Version: MySQL 8.3.0
  • Operating System and Version: MacOS Sonoma 14.4 (23E214)
  • Browser type and version: 122.0.6261.129

Description:

I want to show Trix field in Panel:

            Panel::make(__('Content'), [
                Trix::make(__('Content'), 'content')
                    ->required()
                    ->rules('required')
                    ->alwaysShow(),
            ]),

When I remove Panel::make, everything works fine, but when fields are in Panel, Trix field never shows up.

Detailed steps to reproduce the issue on a fresh Nova installation:

  • just configure Trix field in Panel

webard avatar Mar 18 '24 15:03 webard

Unable to replicate the issue:

CleanShot 2024-05-16 at 10 20 15

crynobone avatar May 16 '24 02:05 crynobone

Okay, looks like it's working now. Checked on newest version.

webard avatar May 21 '24 13:05 webard