|
|
@ -25,6 +25,8 @@ fun TextInputs() { |
|
|
|
) { |
|
|
|
) { |
|
|
|
var name by remember { mutableStateOf(TextFieldValue("")) } |
|
|
|
var name by remember { mutableStateOf(TextFieldValue("")) } |
|
|
|
var password by remember { mutableStateOf(TextFieldValue("")) } |
|
|
|
var password by remember { mutableStateOf(TextFieldValue("")) } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TextInputs() // TODO: causes exceptions on Windows OS |
|
|
|
TextField( |
|
|
|
TextField( |
|
|
|
value = name, |
|
|
|
value = name, |
|
|
|
onValueChange = { newValue -> name = newValue }, |
|
|
|
onValueChange = { newValue -> name = newValue }, |
|
|
@ -32,6 +34,8 @@ fun TextInputs() { |
|
|
|
label = { Text("Account:") }, |
|
|
|
label = { Text("Account:") }, |
|
|
|
placeholder = { Text("account name") } |
|
|
|
placeholder = { Text("account name") } |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TextInputs() // TODO: causes exceptions on Windows OS |
|
|
|
OutlinedTextField( |
|
|
|
OutlinedTextField( |
|
|
|
value = password, |
|
|
|
value = password, |
|
|
|
modifier = Modifier.padding(8.dp).fillMaxWidth(), |
|
|
|
modifier = Modifier.padding(8.dp).fillMaxWidth(), |
|
|
|