We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<.flash />
If your .swiftui.neex file has this snippet below, it'll crash the app at runtime due to a missing title:
.swiftui.neex
<.flash kind={:info} flash={@flash} />
title is optional according to core_components.swiftui.ex (which is also consistent with the same default component from core_components.ex):
title
core_components.swiftui.ex
core_components.ex
attr :title, :string, default: nil
The crash is in AttributeReference.resolve which has try! even though an error is raised in this case.
AttributeReference.resolve
try!
0.4.0-rc.0
Version 16.2 (16C5032a)
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
iPad
iOS 18.3
The text was updated successfully, but these errors were encountered:
carson-katri
No branches or pull requests
What happened?
If your
.swiftui.neex
file has this snippet below, it'll crash the app at runtime due to a missing title:title
is optional according tocore_components.swiftui.ex
(which is also consistent with the same default component fromcore_components.ex
):The crash is in
AttributeReference.resolve
which hastry!
even though an error is raised in this case.Library Version
0.4.0-rc.0
Xcode Version
Version 16.2 (16C5032a)
Swift Version
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
On which device or simulator are you running into the problem?
iPad
Target Device Operating System Version
iOS 18.3
Relevant log output
The text was updated successfully, but these errors were encountered: