Skip to content

Commit

Permalink
fix(web): number input been interrupted during the input on layer sty…
Browse files Browse the repository at this point in the history
…le editor (#1252)
  • Loading branch information
airslice authored Nov 15, 2024
1 parent 2d0452a commit de5b575
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ const fieldComponents = {
/>
),
number: (props: FieldProps) => (
<NumberInput value={props.value as number} onChange={props.onUpdate} />
<NumberInput value={props.value as number} onBlur={props.onUpdate} />
),
text: (props: FieldProps) => (
<TextInput value={props.value as string} onChange={props.onUpdate} />
<TextInput value={props.value as string} onBlur={props.onUpdate} />
),
color: (props: FieldProps) => (
<ColorInput value={props.value as string} onChange={props.onUpdate} />
Expand Down

0 comments on commit de5b575

Please sign in to comment.