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

Adding to Resource makes View page editable #27

Open
leek opened this issue Sep 18, 2024 · 0 comments
Open

Adding to Resource makes View page editable #27

leek opened this issue Sep 18, 2024 · 0 comments

Comments

@leek
Copy link

leek commented Sep 18, 2024

For some reason, adding GazeBanner to a main Resource form causes the ViewRecord page to be editable (rather than having all fields disabled as intended).

This can be fixed by doing this:

GazeBanner::make()->hiddenOn(['create', 'view'])

But it would be nice to not have to disable the banner on view.

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

1 participant