cube-js / cube-js/cube

Query Builder Playground props onVizStateChanged (and other props) not working

Open
#3,694 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

Hi 👋

I'm trying to integrate the Query Builder from your playground package on my React app, but some props doesn't seem to work.

```
{ console.log('***** tabChanged', e); }}
onVizStateChanged={( vizState ) => { console.log('***** vizState', vizState); }}
/>
```

When I changed a tab it's work, but if I change my viz nothing happened.
Also, some props like **defaultQuery** or **initialVizState** doesn't seem to work too.

Somebody can help me ? :)
Or a full query builder already exist for React ?

My goal is to save the json on my DB for display viz later.

Thank you 🙏

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.