fix: Crash using when Integer type in Patch Options (#2453)

This commit is contained in:
Pun Butrach 2025-04-04 22:59:06 +07:00 committed by GitHub
parent a8e192b85f
commit 05575cccfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,7 @@ class _IntAndStringPatchOptionState extends State<IntAndStringPatchOption> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
TextFieldForPatchOption( TextFieldForPatchOption(
value: value, value: value.toString(),
patchOption: widget.patchOption, patchOption: widget.patchOption,
selectedKey: getKey(), selectedKey: getKey(),
onChanged: (value) { onChanged: (value) {