nova-flexible-content icon indicating copy to clipboard operation
nova-flexible-content copied to clipboard

Flexible Content & Repeater Fields for Laravel Nova

Results 100 nova-flexible-content issues
Sort by recently updated
recently updated
newest added

Hello, I've been using this module and so far it is so cool, I'm only facing a couple problems here, one is already described and listed in #412 + the...

- Updates the Error Bag on the exception attached to the response, in addition to the response data - Allows any other middleware executing after TransformsFlexibleErrors that interacts with the...

``` Number::make('Weight')->min(0)->max(10)->step(0.01) ->default(1) ->rules('required'), ``` Results in a number field that has no value pre-entered. ``` Text::make('Type') ->default('input') ->rules('required'), ``` Results in a text field that has no value pre-entered.

## Code example: ``` Text::make('Recipient') ->readonly() ->dependsOn( ['type'], function (Text $field, NovaRequest $request, FormData $formData) { if ($formData->type === 'gift') { $field->readonly(false)->rules(['required', 'email']); } } ), Flexible::make('Content') ->addLayout('Simple content section',...

bug

Hello, It's possible to add $force params in flexible trait ? ```php public function flexible($attribute, $layoutMapping = [], $force = false) { $flexible = data_get($this->attributes, $attribute); return $this->cast($flexible, $layoutMapping, $force);...

Hello. So I'm using `Flexible` field with the `Alexwenzel\DependencyContainer`. The problem is, when I add a layout, the field rules (eg: `rules(['required'])`) inside the layout are ignored. The resource: ```...

When adding 2+ layouts others will collapse.

Nova model crashes if I try and replicate another one $templater = Campaign::where('id', 88)->first(); $new_ish = $templater->replicate(); $new_ish->save(); Error, error [2022-11-02 13:15:22] production.ERROR: Undefined property: stdClass::$layout {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined...

A nova field would use the name of a field for the validation message: ``` Field::make('Name', 'attribute')->rules('required') ``` This would return the message `Name is required`. The same field used...

enhancement

Is there a way to easily enable a feature to keep all layouts collapsed by default when viewing the edit screen? if there are lots of layout elements in a...

enhancement