Impossible to "clear" an only item in a multivalued field #121
Labels
No labels
bug
config
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
orinoco/shacl-vue#121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The workaround is to create a second item (click on plus). Afterwards both items have "delete" buttons. But only then.
Actually no. In some cases it is entirely impossible:
When I click on the top trash can, the second field is removed. But the first is kept.
I am confused about what the issue is actually about, or whether there are multiple issues.
There is a clear button (the X icon), which is only available for the dropdown component. It will show when the component has a selected item. So you should be able to clear the selection.
And then there is a remove/delete button (the trash can icon), which is available for all values of a multivalued field, unless there is only one field.
I think you have two issues:
Is this assessment accurate?
I think this related to many interacting issues, some of which have been solved since. From my POV, a task that remains is to allow any type of component to clear its saved value. This is currently only possible for the
InstancesSelectEditor.Closing since the remaining challenge has been created as a separate issue: datalink/shacl-vue#314