generated from Low-Drag-MC/ArchTemplate
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Predicate name cannot be changed
At the moment, it is not possible to rename a predicate. As soon as you start typing or removing characters, the input field immediately turns red.
After doing a bit of investigation, I noticed that in LDLib – ResourceContainer#308 the validation check does not invert the boolean value:
if (selected.map(...)) { ... }
However, in PredicateResourceContainer#97, this check is inverted, which prevents changing the name to a new value different from the old one:
if (!selected.map(...)) { ... }
I removed this boolean inversion via a mixin, and the issue was resolved.
Unfortunately, I don’t have the ability to create a PR at the moment, so I’m reporting this as an issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels