Skip to content

It redirects back (302) when entenring forms when you define an embed with a tag name containing a dot #754

Description

@PatrickePatate

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();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions