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

Validation errors are not red

Open Dartui opened this issue 2 years ago • 2 comments

Nova version: 4.14.3 Package version: v1.0.5

Hello and first of all - thanks for great package!

I have small issue with validation of Flexible field. I've created field like that:

Flexible::make('Payload')->preset(PayloadPreset::class)
	->rules('required'),

and when I click "Create" button without adding any layout I am getting error, but it is dark instead of red.

obraz

Classes of "red" error message:

help-text mt-2 help-text-error

Classes of "dark" error message:

help-text error-text mt-2 text-danger

Dartui avatar Oct 18 '22 11:10 Dartui