component imagine 4 - 5 fields. Only thing I need to change is to
remember state
for each Input field. How to achieve this?
Same I need to achieve for
Sliders
This is component 👇
z
Zun
05/28/2021, 1:42 PM
Unsure if I understand you correctly but what you want is "hoisting". Essentially you create a function that accepts the current value, a callback function and an optional modifier
Zun
05/28/2021, 1:44 PM
pseudo code:
fun MyCustomTextField(value: String, onValueChanged: (String) -> Unit, modifier: Modifier = Modifier()) {
// attach modifier from parameters to OutlineTextField and append your