fix: quick question and variable

This commit is contained in:
archer
2023-09-04 14:45:01 +08:00
parent a1bcd798e1
commit 94c53804ce
3 changed files with 7 additions and 1 deletions

View File

@@ -565,6 +565,9 @@ const ChatBox = (
label: item.value,
value: item.value
}))}
{...register(item.key, {
required: item.required
})}
value={getValues(item.key)}
onchange={(e) => {
setValue(item.key, e);