fixed #398
This commit is contained in:
parent
5b48b26111
commit
ea22741153
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ export default function Book(props: any): JSX.Element {
|
||||||
const data = event.target["custom_" + input.id];
|
const data = event.target["custom_" + input.id];
|
||||||
if (data) {
|
if (data) {
|
||||||
if (input.type === EventTypeCustomInputType.Bool) {
|
if (input.type === EventTypeCustomInputType.Bool) {
|
||||||
return input.label + "\n" + (data.value ? "Yes" : "No");
|
return input.label + "\n" + (data.checked ? "Yes" : "No");
|
||||||
} else {
|
} else {
|
||||||
return input.label + "\n" + data.value;
|
return input.label + "\n" + data.value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue