We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using custom "delete" button and setting hidden attribute on it, the vaadin-crud removes it due to this logic:
hidden
vaadin-crud
web-components/packages/crud/src/vaadin-crud-mixin.js
Line 698 in e2523f9
Expected the "Delete" button to be always hidden when the attribute is set.
<vaadin-crud> <vaadin-button slot="delete-button" hidden>Deleting forbidden</vaadin-button> </vaadin-crud> <script type="module"> import '@vaadin/crud'; const crud = document.querySelector('vaadin-crud'); crud.items = [ { firstName: 'John', lastName: 'Doe', }, { firstName: 'Jane', lastName: 'Doe', }, ]; </script>
Vaadin version(s): 24.x
Issue is not browser related
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When using custom "delete" button and setting
hidden
attribute on it, thevaadin-crud
removes it due to this logic:web-components/packages/crud/src/vaadin-crud-mixin.js
Line 698 in e2523f9
Expected outcome
Expected the "Delete" button to be always hidden when the attribute is set.
Minimal reproducible example
Steps to reproduce
Environment
Vaadin version(s): 24.x
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered: