-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi,
the picker is not changing the value by the code just clicking, and on the web when it opens the texts do not appear, how to solve this?
<Picker
items={escolas}
value={escola_id}
placeholder="Escolha a escola"
selectionBackgroundColor={"#FFF"}
onValueChange={(val) => setEscolaId(val)}
/>
<Button
text={loading ? "Carregando" : "Alterar"}
onPress={() => {
setEscolaId(2);
}}
style={{
marginTop: 20,
}}
disabled={loading}
/>
it changes the state but does not change on the screen
Metadata
Metadata
Assignees
Labels
No labels