You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the default argument displayed for option in the Workflow interface will be "one" instead of "two".
[REQUIRED] Expected behavior
I expected the default argument to be "two."
[REQUIRED] Platform Information
General information about host platform + SDK
macOS Monterey, Version 12.5.1
Google Chrome, Version 111.0.5563.110
Latch, Version 2.14.2
Additional context
I understand this is a weird use case because workflow developers should probably just not set the option argument to be Optional but I suspect some may be doing this, as I have.
The text was updated successfully, but these errors were encountered:
[REQUIRED] Describe the bug
For optional arguments, the default argument is not displayed properly.
[REQUIRED] To Reproduce
This behavior was discovered when using Enums.
For example,
with the following Enum:
and the following function:
the default argument displayed for
option
in the Workflow interface will be "one" instead of "two".[REQUIRED] Expected behavior
I expected the default argument to be "two."
[REQUIRED] Platform Information
General information about host platform + SDK
Additional context
I understand this is a weird use case because workflow developers should probably just not set the
option
argument to be Optional but I suspect some may be doing this, as I have.The text was updated successfully, but these errors were encountered: