fix id input focus problem

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-10-16 12:32:52 +08:00
parent 52a21234d4
commit cba450b32f
27 changed files with 43 additions and 10 deletions

View File

@@ -977,9 +977,11 @@ Widget _OptionCheckBox(BuildContext context, String label, String key,
],
),
).marginOnly(left: _kCheckBoxLeftMargin),
onTap: () {
onChanged(!ref.value);
},
onTap: enabled
? () {
onChanged(!ref.value);
}
: null,
);
});
}