Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display default values/initial state of props in the auto props controls #191

Closed
4 tasks done
awacode21 opened this issue Jul 21, 2022 · 5 comments · Fixed by #673
Closed
4 tasks done

Display default values/initial state of props in the auto props controls #191

awacode21 opened this issue Jul 21, 2022 · 5 comments · Fixed by #673
Assignees
Labels
enhancement New feature or request

Comments

@awacode21
Copy link

Clear and concise description of the problem

Currently when defining variants of a component and setting the prop values for the components the component gets rendered correctly but the auto generated prop controls are always empty. They are not prefilled with the initial prop state of the component.

When you want to have controls that get filled with the default/initial prop values you always need to define custom controls. So you end up with doubled controls basically doing the same.

Suggested solution

I would suggest to set the default props value/initial state on the auto generated props

Alternative

No response

Additional context

No response

Validations

@awacode21 awacode21 added the enhancement: to triage New feature of request pending review by team member label Jul 21, 2022
@Akryum Akryum added enhancement New feature or request and removed enhancement: to triage New feature of request pending review by team member labels Jul 21, 2022
@gr33nwhal3
Copy link

Any news about this issue ?

@wvffle
Copy link

wvffle commented Aug 11, 2023

Joining to the waitlist!

@sn00k
Copy link

sn00k commented Oct 20, 2023

Also awaiting news on this

@rockymontana
Copy link

Joining the waitlist too

@lateek35
Copy link

lateek35 commented Dec 1, 2023

This will help clean a lot of boilerplate code so we could use the auto detection solely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants