Inline Edit Allows Empty Values Which Breaks the Edit Capability
See original GitHub issueI’m submitting a … (check one with “x”)
[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior In the inline edit demo, http://swimlane.github.io/ngx-datatable/#, if you clear the contents of a cell, then the cell goes to non-edit mode and you can’t reenter into edit mode.
Expected behavior You should either not be able to disable cell input when the content is empty or you filler content should be used when the cell is empty.
Reproduction of the problem
- Open http://swimlane.github.io/ngx-datatable/#. 2.Click inline edit. Clear the content.
- Click outside of the cell so that you are no longer in editing mode.
- Try and edit the field again. You can no longer edit.
What is the motivation / use case for changing the behavior? A table with inline edit enabled should not be able to enter an invalid state.
Please tell us about your environment: Google Chrome, OS X
-
Table version: 6.1.1
-
Angular version: 2.0.x
-
Browser: Chrome 56
-
Language: TypeScript
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Unable to Edit Records via Inline Editing in a List View
Troubleshoot common issues with List View Inline Editing by reviewing these requirements and considerations: User permission requirements Enable Inline Edi.
Read more >Inline edit one or multiple cells in a list
Inline edit one or multiple cells from the same column of a list to simultaneously change the value of the selected cells.
Read more >Inline edit items in a list in Adobe Workfront
Go to a list of objects you want to inline edit. · Locate the object you want to edit, then click inside any...
Read more >How to build an inline edit component in React - Emma Goto
Inline editing allows users to edit content without navigating to a separate edit screen. In this tutorial, we'll be building an accessible…
Read more >Inline Editing in Grid Gantt Docs - DHTMLX Documentation
Inline editing lets you make any changes right through the grid: create and update tasks, set connections between them, define the start and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed it by making
span class="container-fluid"
, the container has red background (for demonstration purposes ofc) so even when my fieldcomment
is empty it can be clicked and editedOh ok. Thanks for the explanation. Have a great weekend.