Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
docs: use onInput instead of oninput in guides
Browse files Browse the repository at this point in the history
  • Loading branch information
norskeld committed Feb 6, 2024
1 parent 08fcbe0 commit 652060e
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion langs/de/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type="text" oninput={(e) => setValue(e.currentTarget.value)} />
<input type="text" onInput={(e) => setValue(e.currentTarget.value)} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion langs/en/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type="text" oninput={(e) => setValue(e.currentTarget.value)} />
<input type="text" onInput={(e) => setValue(e.currentTarget.value)} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion langs/es/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function Form() {
return (
<div>
<ComponenteBasico valor={valor()} />
<input type='text' oninput={(e) => setValor(e.currentTarget.value)} />
<input type='text' onInput={(e) => setValor(e.currentTarget.value)} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion langs/fr/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type="text" oninput={(e) => setValue(e.currentTarget.value)} />
<input type="text" onInput={(e) => setValue(e.currentTarget.value)} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion langs/id/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type="text" oninput={(e) => setValue(e.currentTarget.value)} />
<input type="text" onInput={(e) => setValue(e.currentTarget.value)} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion langs/it/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default function Modulo() {
<ComponenteBase value={valore()} />
<input
type="text"
oninput={(e) => impostareValore(e.currentTarget.value)}
onInput={(e) => impostareValore(e.currentTarget.value)}
/>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion langs/ja/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type="text" oninput={(e) => setValue(e.currentTarget.value)} />
<input type="text" onInput={(e) => setValue(e.currentTarget.value)} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion langs/ko-kr/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type="text" oninput={(e) => setValue(e.currentTarget.value)} />
<input type="text" onInput={(e) => setValue(e.currentTarget.value)} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion langs/pt/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type="text" oninput={(e) => setValue(e.currentTarget.value)} />
<input type="text" onInput={(e) => setValue(e.currentTarget.value)} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion langs/ru/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type='text' oninput={e => setValue(e.currentTarget.value)} />
<input type='text' onInput={e => setValue(e.currentTarget.value)} />
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion langs/zh-cn/guides/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function Form() {
return (
<div>
<BasicComponent value={value()} />
<input type="text" oninput={e => setValue(e.currentTarget.value)} />
<input type="text" onInput={e => setValue(e.currentTarget.value)} />
</div>
);
}
Expand Down

0 comments on commit 652060e

Please sign in to comment.