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

input types #10

Open
Thebigbignooby opened this issue Mar 23, 2017 · 2 comments
Open

input types #10

Thebigbignooby opened this issue Mar 23, 2017 · 2 comments

Comments

@Thebigbignooby
Copy link

Any reason as to why input types are not documented ?

@cmosboss
Copy link

I just ran into this, sucks that it is not addressed :( Gotta find another package I guess.

@GlennOlsson
Copy link

GlennOlsson commented Aug 19, 2020

I'm pretty late to the ball here but I guess this could help the people in the future with the same problem. Instead of creating a PR to fix this as the repo seems dead, I'll just post the solution I came up with.

Debugged trough the compiled and unreadable React document which was a bitch, took about 1.5 hours. Finally found out that if the input type does not have any description, it will not render (which mine didn't) as seen here. Just removing this filtering will render the types (at least for me). This can be solved by, in the generated HTML document, replace this.props.args.filter(function(e){return e.description}) with just this.props.args

TL;DR; Replace the one occurrence of this.props.args.filter(function(e){return e.description}) with this.props.args (just search and replace)

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

No branches or pull requests

3 participants