Replace onChange with onInput
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
export const Title = ({ title, onChange }) => (
|
||||
export const Title = ({ title, onInput }) => (
|
||||
<>
|
||||
<label class="is-sr-only" for="embedTitle">
|
||||
Embed Title
|
||||
@ -10,8 +10,8 @@ export const Title = ({ title, onChange }) => (
|
||||
rows={1}
|
||||
name="embed_title"
|
||||
value={title}
|
||||
onChange={(ev) => {
|
||||
onChange(ev.currentTarget.value);
|
||||
onInput={(ev) => {
|
||||
onInput(ev.currentTarget.value);
|
||||
}}
|
||||
></textarea>
|
||||
</>
|
||||
|
Reference in New Issue
Block a user