Skip to content

Removing the tag from a an entry to a property with constrained node tag, makes the entry uncheckable #1395

Closed
logseq/logseq
#13589

Description

@haxfn

Search first

  • I searched and no similar issues were found

What Happened?

On a page "Page A" I have given it the tag "Article". An "Article" has the property "Subjects".

I have a Node property called 'Subjects' that only shows nodes tagged with #Subject. See screenshot below.

Image

I created a new entry in that property: "Shibhansh Dohare". But then I went to its page and removed the Tag "Subject", replaced it with "Person".

When I go back to "Page A" I expected the entry "Shibhansh Dohare" to be removeable from the Subjects property, but now since it does not anymore have the "Subject" tag, it no longer shows up in the checklist -- So one would not be able to remove it from there. See screenshot there.

Image

Some solutions that come to my mind to this problem seem unnecessarily ugly.

For example auto-removing with the "Subject" validation seems a bad surprise to the user -- the kind Logseq has few of.

Another is providing a cross 'x' in the "Subjects" entries -- this is ugly because unchecking primitive i.e the unchecking from the list concept - is already available to the user.

Reproduce the Bug

Create a tag named "Article" add a property to that tag named 'Subjects'. Add a constraint to the type of that property: Node tags "Subject".

Create a new page "Page A" give it a tag "Article". In the Subjects property entries, create a new entry: "Shibhansh Dohare". Then go to "Shibhansh Dohare"'s page, remove the tag "Subject". Go back to "Page A", try removing the "Shibhansh Dohare" entry from the "Subjects" property.

Expected Behavior

There should be some way in which I can remove "Shibhansh Dohare" from that property list.

I am not sure of the expected behavior, as I expressed above in the "What Happened?" section of the GitHub issue, the designers may decide something.

As a workaround I am doing the following.

Go to the "Shibhansh Dohare" page and add the "Subject" tag again, go back to "Page A", uncheck from the list of entries of "Subjects" property of "Page A", and therefore removing the entry "Shibhansh Dohare" from the "Subjects" property of "Page A". Finally remove the "Subject" tag from "Shibhansh Dohare".

Screenshots

No response

Files

No response

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Activity

  1. TheSnakePolyglot commented on Oct 4, 2026

    @TheSnakePolyglot

    In my opinion what should happen is that Logseq should allow you to remove the Node even if that Node no longer has the required tag (Subject in this case). But then it shouldnt allow you to add it back again. So basically you click on the Node property Subjects and you remove Shinbash (which no longer has the Subject tag), then you click out. Then if you click on the Node property again and try to add Shinbash, he shouldnt show up on the search, like any other Node that doesnt have the Subject tag

  2. haxfn commented on Oct 4, 2026

    @haxfn
    Author

    Yes I can get behind this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions