Use child as value in normal textarea
This commit is contained in:
parent
6dae7d9f28
commit
af1959aaca
1 changed files with 3 additions and 2 deletions
|
|
@ -270,10 +270,11 @@ const EditPartyModal = ({ party, updateCallback, ...props }: Props) => {
|
||||||
placeholder={
|
placeholder={
|
||||||
'Write your notes here\n\n\nWatch out for the 50% trigger!\nMake sure to click Fediel’s 3 first\nGood luck with RNG!'
|
'Write your notes here\n\n\nWatch out for the 50% trigger!\nMake sure to click Fediel’s 3 first\nGood luck with RNG!'
|
||||||
}
|
}
|
||||||
value={party?.description}
|
|
||||||
onChange={handleTextAreaChanged}
|
onChange={handleTextAreaChanged}
|
||||||
ref={descriptionInput}
|
ref={descriptionInput}
|
||||||
/>
|
>
|
||||||
|
{party ? party.description : ''}
|
||||||
|
</textarea>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue