Replies: 1 comment 1 reply
-
It's a little bit hard to understand what issue you're having here. I suggest you describe more in detail and send a screenshot/screencap. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I can't get the new value of the date in a Text Object or Alert message
To Reproduce
const [date, setDate] = useState(new Date())
const [open, setOpen] = useState(false)
return (
<>
Date Value : {date.toString()}
<Button title="Open" onPress={() => setOpen(true)} />
<DatePicker
modal
open={open}
date={date}
onConfirm={(date) => {
setOpen(false)
setDate(date)
}}
onCancel={() => {
setOpen(false)
}}
/>
</>
)
}
Beta Was this translation helpful? Give feedback.
All reactions