Converters should broadly accept string inputs that parse to the expected type #765
Closed
BioTurboNick
started this conversation in
New Feature Discussions
Replies: 3 comments 1 reply
-
Hi @BioTurboNick! Can you link to an example of some code? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I only needed it for ints but here's an example:
Another example |
Beta Was this translation helpful? Give feedback.
1 reply
-
Closed and answered |
Beta Was this translation helpful? Give feedback.
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.
-
The converters I use for my own code all accept strings from
ConverterParameter
, because that's what e.g.ConverterParameter=2
passes to the converter. It's very convenient. Would be nice if these converters tolerated and attempted to parse string input to match the bound data type, if such an operation is possible.Beta Was this translation helpful? Give feedback.
All reactions