Skip to content

Commit 279c9e2

Browse files
optional
1 parent 08b74a4 commit 279c9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/editor-ui-property/property-input/property-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export function PropertyNumericInput({
162162
if (isNaN(val)) {
163163
return;
164164
}
165-
onChange(val);
165+
onChange?.(val);
166166
}}
167167
/>
168168
);

0 commit comments

Comments
 (0)