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

New item form in AutoCrud remains enabled even if the New button is hidden #3324

Closed
Legioth opened this issue Mar 5, 2025 · 0 comments · Fixed by #3326
Closed

New item form in AutoCrud remains enabled even if the New button is hidden #3324

Legioth opened this issue Mar 5, 2025 · 0 comments · Fixed by #3326
Assignees
Labels
bug Something isn't working hilla Issues related to Hilla

Comments

@Legioth
Copy link
Member

Legioth commented Mar 5, 2025

Describe the bug

If you click the New button to enable the New item form in AutoCrud and then do something that causes newButton to be set to false, then the New item form remains active.

Expected-behavior

Expected that I can no longer enter a new item if the feature is disabled even tough I could do that previously

Reproduction

  1. Click the New button
  2. Do something that causes newButton to be set to false
  3. Observe that the New item form is still enabled

System Info

Vaadin 24.7.0.beta1

@Legioth Legioth added bug Something isn't working hilla Issues related to Hilla labels Mar 5, 2025
@cromoteca cromoteca self-assigned this Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hilla Issues related to Hilla
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants