Modules allow you to define data input types. Along with that, you can define what the default value should be. The default value allows me to inject a temporary state value, or transformer value. It renders appropriately with the default in the editing module view. When injecting the module into an app, it does not apply the default from injected temporary state or transformer.
If I go back and hard code the value, the default gets applied.
Steps to reproduce:
- Create a module with a temporary state
- Add an input, define the default value to the temporary state value
- Use a text box component, inject the input value as the value
You will notice that in the edit module page, it works as expected.
When you inject the module into an app, it does not work as expected.