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

[docs] deprecated docs in switchInput() #687

Closed
jhk0530 opened this issue Apr 9, 2024 · 1 comment
Closed

[docs] deprecated docs in switchInput() #687

jhk0530 opened this issue Apr 9, 2024 · 1 comment

Comments

@jhk0530
Copy link

jhk0530 commented Apr 9, 2024

Thank you for making such a great package. I always use it well.

I'm creating an issue because I'm using a recent feature and the documentation hasn't been updated.

The manual for ?switchInput shows as below.
width parameter as The width of the input : 'auto', 'fit', '100px', '75%'.

Unfortunately, 'auto' doesn't work with the following error message

Error in validateCssUnit(width) : "fit" is not a valid CSS unit (e.g., "100%", "400px", "auto")

How about removing "auto" to avoid confusion?

Thanks.

@pvictor
Copy link
Member

pvictor commented May 23, 2024

Thank you, I've updated the docs. Glad you like the package!

Victor

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

2 participants