question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Currency prompt

See original GitHub issue

This is a feature request.

I’d love to a see a Dialog/Prompt for capturing and validating Currency inputs from the user. The closest we have is NumberPrompt but that only returns and Int which is not great for currency.

I’d like something like the NumberPrompt which returns a Double (chose a double because Luis returns a double for money entities so it will be consistent).

If I get time to do this myself, I may add it to this repo but wanted to log the feature in case anyone else is looking for something to do 😉

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
garyprettycommented, Aug 30, 2018

@martinkearn first iteration of the prompt completed. Right now it should be able to handle input such as “50 dollars”, “fifty five pounds” or “£50.50”. I still need to figure out if I can combine multiple resolutions, such as “fifty five pounds and fifty pence”, but I suspect that might be a bit more complex - anyway, this should be a good start.

Would love you to take a look and let me know what you think. You can take a look at CurrencyPrompt.cs and also the associated Unit tests.

1reaction
garyprettycommented, Aug 30, 2018

Great idea. I’d like to see this too and is on my backlog - I will try and work something up for this over the weekend. I might put it straight into our branch which is tracking latest, rather than building for preview as the dialog / prompt APIs have changed significantly. I’ll let you know once I have something!

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Prompting in Dashboards and Analyses
Inline prompts provide general filtering of a column within the analysis. An inline prompt can be a column prompt, variable prompt, image prompt,...
Read more >
New Prompt dialog
Use this dialog to define the column, variable, or currency prompt. For more information, see "Creating a Column Prompt". This dialog is also...
Read more >
[Feature Request] Support Bangladesh currency (#191) · Issues ...
The Bangladeshi currency BDT or taka is not currently supported in gnm-calculator, it would be great if implemented.
Read more >
Customer prompts
This prompt appears when the Dynamic Currency Conversion feature is turned on and the customer paid for the original purchase using a foreign...
Read more >
Feature Request: Currencies
Hi,. I am new to Honeycode, so might have missed the option. If I format a column in a table with a currency,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found