Describe the bug
The following story gives a in correct knobs:
To Reproduce
Stept to reproduce:
import React from 'react';
import { storiesOf } from '@storybook/react';
import { boolean as bool, text } from '@storybook/addon-knobs';
const X = () => <div>X</div>;
storiesOf('X', module).add('X', () => {
return (
<X
name="checkbox"
meta={{
submitting: bool('meta.submitting', false),
pristine: bool('meta.pristine', true),
error: text('meta.error', ''),
}}
/>
);
});
meta.pristine, meta.error appears; however no errors get printed. 馃憖 Note: <comething> is potentially be magical, and in some setup it won't be magical (i.e. working as expected...)
Expected behavior
It should show 3 knobs.
Screenshots
N/A
Code snippets
N/A
System:
Additional context
related: #6243.
reproduced by: @Armanio (see here)
Hi @leoyli, the stale bot closed it, but this is still an issue as of @storybook/addon-knobs version 5.1.10:
const name = text("(props) entry.account.name", "John Doe");
const screenName = text("(props) entry.account.screenName", "johndoe");
const title = text("(props) entry.item.title", "The title");

Without the dots, that's fine.
@maximeg, oh thank you to bring this up!
@shilman, I think we need to change the setting on the stale bot do not close the bug tag...
@ndelangen, I was looking a bit but get lost... It seems the root cause is not this addon but the internal lib. I believe the root cause is how storybook serialize the message exchanged via the channel... any idea?!
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!