Skip to content

Commit

Permalink
Merge pull request #23 from ilkerkzgnC24/bugfix-NumberFormatException…
Browse files Browse the repository at this point in the history
…-parseInt

NumberFormatException java.lang.Integer in parseInt - For input string: ""
  • Loading branch information
FriedrichSchlee authored Feb 21, 2024
2 parents 10b755c + 717eea4 commit 3c1cf5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fun LabelledRadioButton(
fun RadioLine(formData: RadioLineData) {
var selectedValue by remember {
mutableStateOf(
formData.value?.jsonPrimitive?.int ?: 0
formData.value?.jsonPrimitive?.intOrNull ?: 0
)
}

Expand Down

0 comments on commit 3c1cf5c

Please sign in to comment.