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
Is there, by chance, a codepen or something somewhere that shows how to set this up on react, like your other components which are in storybook?
I keep getting this error:
TypeError: null is not an object (evaluating 'valuesArea.querySelector("[data-id=\"" + name + "\"] input").value = obj[name]')
(anonymous function)
src/react-scenejs-timeline/Timeline.tsx:407
404 | this.values = obj;
405 | const valuesArea = this.scrollArea.valuesArea.getElement();
406 | for (const name in obj) {
> 407 | valuesArea.querySelector<HTMLInputElement>(`[data-id="${name}"] input`)!.value = obj[name];
| ^ 408 | }
409 | }
410 |
I'm sure I'm doing something wrong, but I can't figure out what.
Edit: Looking a bit further, I can see Value.tsx is creating an input without the required attribute in Timeline.tsx. Again, I'm sure I'm doing something wrong.
The text was updated successfully, but these errors were encountered:
Is there, by chance, a codepen or something somewhere that shows how to set this up on react, like your other components which are in storybook?
I keep getting this error:
I'm sure I'm doing something wrong, but I can't figure out what.
Edit: Looking a bit further, I can see Value.tsx is creating an input without the required attribute in Timeline.tsx. Again, I'm sure I'm doing something wrong.
The text was updated successfully, but these errors were encountered: