Skip to main content
Version: Next

Text input

const textInput = {
name: "text_input",
component: NANO.TEXT_INPUT,
value: '',
props: {
label: 'Email',
style: {},
},
onChangeText: ({setUi, getUi, methodValues }) => {
const [value] = methodValues

const textInputObj = getUi("text_input")
textInputObj.value = value
setUi("text_input", textInputObj) 

}
};

Text input example

Loading...