Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select field inside replicator cannot be named "type" #3865

Closed
andjsch opened this issue Jun 17, 2021 · 4 comments
Closed

Select field inside replicator cannot be named "type" #3865

andjsch opened this issue Jun 17, 2021 · 4 comments

Comments

@andjsch
Copy link
Contributor

andjsch commented Jun 17, 2021

Bug Description

When there is a select field inside a replicator with the handle "type" and some other fields, selecting one option will make the set collapse.

How to Reproduce

Create a replicator with a set. The set should have a select field with the handle set to "type". See it happening.

Extra Detail

out

Environment

Laravel Valet, Statamic installed on Laravel 8

Statamic version: 3.1.24

PHP version: 8.0

Install method (choose one):

  • Fresh install from statamic/statamic
@jasonvarga
Copy link
Member

type is the name of the set inside a replicator. You'll need to call your field something else.

@andjsch
Copy link
Contributor Author

andjsch commented Jun 17, 2021

Ohh, okay, that makes sense then.

@freshface
Copy link
Contributor

Getting a warning or hint in the cp ui would be nice :)

@jasonvarga
Copy link
Member

Yup. statamic/ideas#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants