Feature: Hide an option from the drop down but not remove the tag from the row if it is already had the value set
My Scenario: I have a table that with the column of status editable. This helps making a quick status change without having to open up the modal/drawer for more details when justing need to change status. However i have 1 or 2 statuses that i often require additional information inputed when changing. So i don't want to make it editable from the table but from the modal form with all the inputs. My current workaround is i have the saveChangeset check to see if that id was selected and if so notify user they can not quick edit that status as it will require a job number in this case.
The issue i have is the hidden field will make the tag not appear even if it is the actual value of the row. My ideal scenario would be to hide "complete" from the drop down but if a row is already set to that status. Maintain the tag visual to user..
For example: When i made "Pending" Hidden it makes the row tag empty even thought the value is there. The hidden seems to remove all possible options. But i want hidden to only affect the editable drop down.
+1
I ran into this same scenario this week!
I've been searching for the time to type up the post, really happy to see someone beat me to it Thank you @PadenM.
For my workaround, I also intercept the save click. Then I filter out any invalid selections in the table.changesetArray before prompting the user of the issues and asking them if they want to save only the valid selections.
+1, same scenario for me as well! I thought the hidden set up would remove it from the dropdown only and was about to try that next week, glad I found this before.
+1 on this! This would be extremely useful when I am pre-populating some values in a table, but don't want users to be able to go in and actually select this as part of the dropdown.
Thanks all! This is request currently in our backlog. I don't have an eta yet, but I'll post here if I do get any updates.
Another idea for a workaround that might help with some use cases is to use a placeholder in the cell that defaults to the hidden value. This may not be dynamic enough (or sufficient styling) for some use cases though