how should an input value of type `map<string,f...
# flyte-console
m
how should an input value of type
map<string,float>
be formatted in the input field in the execution modal?
er, just some typical
{"", 0.0}
. strangely some giant map is likely failing some validation and causing the
Launch
button to do nothing.
ohhh if the float value has more than 16 digits, then the form is invalid and the task is not launched.
i’ve advised my users to use strings instead.
separately, i think that: 1. the form should display validation errors; 2. the
Launch
button should also be disabled until the required inputs are filled with valid values. should these be feature requests in a github issue?
f
I do agree
@late-eye-50215
cc
m
lmk if you’d like me to create an issue
as well as another issue for handling 17+ digits, if possible?
f
@miniature-postman-38835 please create an issue
17+ digits - is the decimal points?
m
yeah
like
0.6744571070282204
f
hmm please also write what your ideal way of handling this would be
hmm is that a valid float64?
m
i suppose that the validation message could just say that the value must be a valid float64
hopefully i’ve provided enough details in https://github.com/flyteorg/flyte/issues/2732
l
Okay thanks @miniature-postman-38835 - we'll pick that up on Monday 👍
❤️ 2
s
message has been deleted
Right now it seems that it supports 17 digits.. Do you want to support 17+ digits?
@miniature-postman-38835
f
@some-france-35860 the support should be max precision supported by protobuf and not other way around
👍 1
s
hmm. sorry, I don’t get you. So the max is 17?
f
Let's talk offline