I'm not fully understanding the defaults between hjson and js files for custom app connect components. Can someone explain the difference and how they are related?
The default in HJSON is cosmetic, the code gets an empty value. I don't know if it's an empty string, null or undefined value. I also don't know if the default value in the code is used, or it if it's overwritten by the empty value coming from the caller. I'm also not familiar with the situation in question and my knowledge is inferred from Wappler server-side extensions
The technique used to give a value to a falsy (empty) value is:
The default set in the js file is overridden if you set a defaultValue in the hjson.
So it's one or the other.
Both are accessed using this.props.[propertyname]
The defaultValue from the hjson will show in the field within Wappler App Structure when you add the component, but the default from the js does not. It will only work at runtime.
If would be helpful if this was added to the documentation at the below locations.