You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/roam/src/components/settings/NodeConfig.tsx
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -262,7 +262,7 @@ const NodeConfig = ({
262
262
title="Description"
263
263
description={`Describing what the ${node.text} node represents in your graph.`}
264
264
settingKeys={["description"]}
265
-
defaultValue={node.description}
265
+
initialValue={node.description}
266
266
order={1}
267
267
parentUid={node.type}
268
268
uid={descriptionUid}
@@ -272,7 +272,7 @@ const NodeConfig = ({
272
272
title="Shortcut"
273
273
description={`The trigger to quickly create a ${node.text} page from the node menu.`}
274
274
settingKeys={["shortcut"]}
275
-
defaultValue={node.shortcut}
275
+
initialValue={node.shortcut}
276
276
order={0}
277
277
parentUid={node.type}
278
278
uid={shortcutUid}
@@ -282,7 +282,7 @@ const NodeConfig = ({
282
282
title="Tag"
283
283
description={`Designate a hashtag for marking potential ${node.text}.`}
284
284
settingKeys={["tag"]}
285
-
defaultValue={node.tag}
285
+
initialValue={node.tag}
286
286
placeholder={generateTagPlaceholder(node)}
287
287
getValidationError={validateTag}
288
288
onChange={setTagValue}
@@ -390,7 +390,7 @@ const NodeConfig = ({
390
390
title="Graph Overview"
391
391
description="Whether to color the node in the graph overview based on canvas color. This is based on the node's plain title as described by a `has title` condition in its specification."
0 commit comments