-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
Radio option has Selected/Not Selected #176
Comments
...not 100% certain what you're referring to here. If you're asking why the database table odr_radio_selection still has "unselected" options in it...if I'm remembering correctly from years ago, I didn't want to completely delete them from the table when the user could later select that option again, and also didn't see the point of soft-deleting them. It made sense to me at the time, but we really need to make a concrete plan for how to deal with soft-deletion and the ability to view a Datarecord at any point in time...from my understanding, the database isn't really correctly set up for either of those two things right now, so the sooner that gets dealt with the better...
I'm also not certain what you mean by that. I'm having difficulty thinking of a situation where you would need to store a difference between "not selected" and "specifically unselected" in a dropdown/checkbox-type situation, and even more trouble trying to think of a use for the 4-state construct you described...or more specifically, I can't think of a situation where a 2-state construct is insufficient, and a 3 or 4-state construct is necessary. |
The database is 100% set up for soft deleting - has been from day one. We My entire intention was to use the database this way from the day of 4 States: 1 - disabled (ie: state is locked, whatever data is there can not be For instance, my machine has the following options: aux power yes/no some other gizmo yes/no Leaving them "unchecked" or "no" is a valid state and is different from not --Nate On Thu, Mar 17, 2016 at 10:41 AM Alex Pires [email protected]
|
Why is this necessary? If a selection is no longer "selected", it just needs to be deleted. There is no value in having "un-selected" selections in my opinion.
Perhaps, I'm forgetting a reason for this. If so, please elaborate.
I am changing the code to allow "unselected" options - meaning the user has said that this option is specifically unselected.
However, we have no way to indicate this state on the edit interface. How does the user differentiate between not selected and specifically unselected on the UI? Needs a 4 state selection (disabled, checked, not-selected, un-selected).
Please discuss and we'll create a task/enhancement from here.
The text was updated successfully, but these errors were encountered: