Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
:widget="widget.simplified"
:model-value="widget.value"
:readonly="readonly"
:node-id="nodeData?.id != null ? String(nodeData.id) : ''"
Copy link
Contributor

@webfiltered webfiltered Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pattern is everywhere and doesn't make sense - nodeId is defined as optional (string | undefined), yet we're forcing it to empty string for some reason? Is that actually valid?

Copy link
Collaborator Author

@jtydhr88 jtydhr88 Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I just copy this line from above code in the same file, and follow the same pattern what I see...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @webfiltered that we should remove the check and conversion later.

class="flex-1"
@update:model-value="widget.updateHandler"
/>
Expand Down