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.

[BUG] `util.guid()`as calculate value, it will non-stop calculate

See original GitHub issue

Environment

Please provide as many details as you can:

Steps to Reproduce

  1. Drag and Drop a textfield
  2. In calculate value, type: value = util.guid();
  3. checked Allow Manual Override of Calculated Value

Expected behavior

  1. Calculate once
  2. If user manual override, it will stop re-calculate

Observed behavior

  1. It will regenerate in 1 second
  2. If i type the textfield, it’s still re-calculate

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
doublegreycommented, Sep 23, 2020

The problem is not with the utils.guid() function. It’s the way how calculated values work. Value is calculated on every tick. It is not a bug, it is expected behaviour

value = Date.now();

formio

Have a nice day! 😄

1reaction
bleungAtGTIcommented, Sep 28, 2020

@doublegrey thanks a lot, this is a nice day

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calculate a GUID Field with a value - Esri Community
Is it possible to calculate a GUID type field with a value of my own design? I can create a string of the...
Read more >
PRACTICAL GREMLIN: An Apache TinkerPop Tutorial
Calculating a standard deviation; 3.29.7. Calculating a standard deviation in one query; 3.29.8. Using project to feed values to math.
Read more >
Restarting a Primary Extract after System Failure or Corruption
This procedure enables Oracle GoldenGate to recover from certain conditions, such as a file system corruption or a system failure, that corrupt the...
Read more >
EhcacheUserGuide-2.4.pdf
1.1 Preface. This is a book about Ehcache, a widely used open source Java cache. Ehcache has grown in size and.
Read more >
Express/Node introduction - Learn web development | MDN
You can find a list of middleware packages maintained by the ... The first two lines require() (import) the express module and create...
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