Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.62k stars 1.56k forks source link

[BUDI-7490] Delete button does not show for table block until after you focus the input #11774

Closed melohagan closed 1 year ago

melohagan commented 1 year ago

Checklist

Hosting

Describe the bug When you add an auto-generated screen for list view, no delete button is added even though it is shown in the settings. If you click on the 'Delete' input text, then the delete button will be added.

To Reproduce Steps to reproduce the behavior:

  1. Add sample data
  2. Create list view screen for the 'Employees' table
  3. Preview app - click on a row to see there is no delete button
  4. Click on the 'Delete' text in the settings panel of the table block
  5. Preview app - click on a row to see the delete button has now been added

Expected behavior When adding an auto-generated list view screen, the delete button should be included in the side panel, as reflected in the settings panel.

Screenshots Screenshot 2023-09-14 at 15 38 02

Screenshot 2023-09-14 at 15 38 21 No delete button

Screenshot 2023-09-14 at 15 38 41 Focus the delete text input

Screenshot 2023-09-14 at 15 39 08 Delete button now appears

BUDI-7490

deanhannigan commented 1 year ago

PR https://github.com/Budibase/budibase/pull/11875