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

Failed to configure list setup in preview page #1145

Closed
cheuklam opened this issue Jun 11, 2024 · 5 comments
Closed

Failed to configure list setup in preview page #1145

cheuklam opened this issue Jun 11, 2024 · 5 comments
Assignees

Comments

@cheuklam
Copy link

Winter CMS Build

dev-develop

PHP Version

8.1

Database engine

MySQL/MariaDB

Plugins installed

No response

Issue description

image

relation widget cannot change setup in preview mode.

Steps to replicate

  1. preview any manage view
  2. click on the list setup button on any relation controller widget
  3. change order / check / uncheck items
  4. Apply

Workaround

Dont use preview mode, use edit mode

@cheuklam cheuklam added needs review Issues/PRs that require a review from a maintainer Type: Unconfirmed Bug labels Jun 11, 2024
@LukeTowers
Copy link
Member

This is probably caused because the relationcontroller would be in readOnly mode in the preview context, which might be causing the widget to not be bound correctly. @mjauvin is this something you can take a look at?

@mjauvin mjauvin self-assigned this Jul 3, 2024
@mjauvin
Copy link
Member

mjauvin commented Jul 3, 2024

should we hide the list setup button in preview mode?

@LukeTowers
Copy link
Member

@mjauvin ideally we fix it so that it works correctly, you would still want to use it in preview mode.

@mjauvin
Copy link
Member

mjauvin commented Jul 3, 2024

@cheuklam I tried to reproduce on a model preview with a relation controller and it's working fine for me. Can you explain how you render the relation controller ?

@bennothommo bennothommo removed Type: Unconfirmed Bug needs review Issues/PRs that require a review from a maintainer labels Oct 3, 2024
@bennothommo
Copy link
Member

Closing as there has been no follow up. If the issue persists, please provide further context and we'll be happy to re-investigate.

@bennothommo bennothommo closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
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

4 participants