Support Alert with single action #37
Closed
domchristie
started this conversation in
Ideas
Replies: 3 comments
|
Maybe I'm missing something, but doesn't |
0 replies
|
Oh nice! My knowledge is seemingly out-of-date. (I had always thought native dialogs needed native code like so: turbolinks/turbolinks-ios#88 (comment)) |
0 replies
|
Which it looks like it does but is now done by the library: https://github.com/hotwired/hotwire-native-ios/blob/3059c5f34996a427f9b0e28caef51840a090fa6e/Source/Turbo/Navigator/WKUIController.swift#L15-L21 Cool! |
0 replies
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.
Currently the alert component has mandatory confirm and dismiss actions. I have a case where I'd like to display an alert without a dismiss—the equivalent to
window.alert('Error'). I have customised the alert component to make the dismiss text optional, and only add a dismiss button if it's present.Just thought I'd drop this here as an idea.
All reactions