You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using knobs in Angular the property names are converted to lower case inside KnobWrapperComponent.knobChanged. This is making it impossible to use a knob on a property with a camel cased name
It's probably a leftover from the first implementation (problems of having to duplicate code 😢 ), right now I can't think of a justification for this. Will look into it.
Issue details
When using knobs in Angular the property names are converted to lower case inside KnobWrapperComponent.knobChanged. This is making it impossible to use a knob on a property with a camel cased name
https://github.com/storybooks/storybook/blob/master/addons/knobs/src/angular/helpers.js#L76
Steps to reproduce
When I console log the the ngOnChanges object for the following, the property name changed is "buttontype" instead of "buttonType"
Please specify which version of Storybook and optionally any affected addons that you're running
The text was updated successfully, but these errors were encountered: