I think the errors comes from the validation that ensures no dot is set in the tag name (i wanted to use x-articles.carousel).
But it does not make an error alert or a validation error, it just redirects back.
|
Validator::make($config, [ |
|
'key' => ['required'], |
|
'label' => ['required'], |
|
'tag' => ['required', 'regex:/^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/'], |
|
'attributes' => ['array'], |
|
], [ |
|
'attributes.required' => 'Your Embed should at least have one form field', |
|
'tag.regex' => 'the tag name should only contain letters, figures and carets', |
|
])->validate(); |
I think the errors comes from the validation that ensures no dot is set in the tag name (i wanted to use x-articles.carousel).
But it does not make an error alert or a validation error, it just redirects back.
sharp/src/Form/Fields/Embeds/SharpFormEditorEmbed.php
Lines 55 to 63 in 0d6733c