input-output-hk / marlowe-playground

Apache License 2.0
6 stars 7 forks source link

SCP-4420 Fix kraken value set #15

Closed hrajchert closed 1 year ago

hrajchert commented 1 year ago

This PR fixes a bug with the karken values not being updated. The problem had to do with the component not receiving updates from parent components. The reason this was disallowed was that the cursor moved to the end whenever you modified. I solved this by splitting the internal component state (on input value change) from informing parents of changes (on input blur).

Pre-submit checklist: