You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature request suggests adding a "New" button to the shadcn-table component. The button will allow users to submit new data through a form or input fields, and upon successful submission, the data will be dynamically added to the table.
Proposed Functionality:
Add Button: Include a "New" button above or below the table to provide users with a clear action point for adding new data.
Form/Modal: Clicking the button should open a form (in-line, modal, or drawer) where users can input the new data.
Submit Action: Provide a "Submit" button in the form to confirm the addition of new data.
Table Update: Upon successful submission, the table should update to reflect the new row without requiring a full page reload.
Validation and Feedback: Include form validation to ensure data integrity and display success/error messages based on the operation's outcome.
Additional Context
This feature will enhance the user experience by making the table more interactive and reducing the need for external data input mechanisms.
It will also streamline workflows where frequent additions to the dataset are required.
If possible, support for hooks or callbacks should be included to handle the submission process in a flexible and customizable way.
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues and PRs
The text was updated successfully, but these errors were encountered:
Feature description
This feature request suggests adding a "New" button to the shadcn-table component. The button will allow users to submit new data through a form or input fields, and upon successful submission, the data will be dynamically added to the table.
Proposed Functionality:
Additional Context
Before submitting
The text was updated successfully, but these errors were encountered: