OpusCapita / fsm-workflow

FSM workflow (for Node.js)
https://demo.core.dev.opuscapita.com/fsm-workflow/master
Apache License 2.0
28 stars 3 forks source link

Zero values in numeric inputs considered empty #83

Closed estambakio-sc closed 6 years ago

estambakio-sc commented 6 years ago
Meta-Info Value
ExtProjectId JCINV-01
Original Estimation 1h
Remaining Estimation 0h

How to reproduce: Transitions -> [first row] Actions -> [first action] Edit -> insert 0 into a numeric input (either integer or decimal, these are Age and Bank Account Balance on demo installation). Hit Save. Now return to editor for this action - those numeric inputs are empty.

fsm-workflow-editor-state-editor-zero-bug

Expected behavior: Zero number is a valid value for input, it should be in there.

estambakio-sc commented 6 years ago

Demo https://opuscapita.github.io/fsm-workflow/branches/issue-83/editor/

fsm-workflow-editor-state-editor-zero-bug-fixed

dshwedovsky-sc commented 6 years ago

Checked on installation Impossible to save Date value in some action

estambakio-sc commented 6 years ago

Fixed, please check.

dshwedovsky-sc commented 6 years ago

Checked on installation In is possible to set any value into action of different types. 0 value also saved