Are you on the latest version of the widget generator?
This is a known issue
Repo has now moved to https://github.com/mendix/widgets-resources/tree/chore/include-piw-generator
Please dont use the props.id anywhere till this is fixed.
ID could be reserved. Did you try to name the property differently? Or are you intending to use some entity ID?