Why Nostr? What is Njump?
2023-07-06 10:13:52
in reply to

David Bureš on Nostr: npub1gqn4m…q0pj6 I have a design in mind, which is basically a Toggle that, when ...

I have a design in mind, which is basically a Toggle that, when on, would show a picker that would let you select an end date (see attached picture).

I guess the question is actually „What is the best way to create a new object from data from a Form“.

Now, I have a @State var at the top that basically creates an object with dummy data, and the form binds to various properties on that object and changes them. Is this considered best practice, or is there another way?



Author Public Key
npub1zl99ghn2xqnyffuf3hrgvtj39wuc0jqtz0g8hul4cfzgufxmnd0slddnmj