Replies: 2 comments
-
Hi @moophis, The way to deal with item selection in SwiftUI is typically by providing a binding to some external state that the view will update as the user selects or deselects items. However, since a Markdown text can contain many task lists, developing an API that makes sense will take some time. That is, clients should provide a way to identify the task list, apart from the binding to the selection state. Any suggestions or ideas for this API are welcome! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply! Maybe a quick but less efficient idea is probably to modify the text string data directly or provide a new copy to the caller (e.g., replace |
Beta Was this translation helpful? Give feedback.
-
It looks like the task bullets are not selectable. Ideally, we can make each list tappable to select/unselect items and provide a callback to persist underlying content changes. Something like:
I would appreciate it if we're able to support this functionality. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions