-
Notifications
You must be signed in to change notification settings - Fork 619
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
Uncaught TypeError: e.replace is not a function #377
Comments
Fixed by #378 |
Here is a JSFiddle with the issue. |
I think a cleaner solution would be to just cast |
I added a comment to the pull request that I would appreciate you reading and providing your input. One thing that I remembered when configuring this element is that you do allow for a "label" and a "value". Why are we not determining the width based on the "label" and not the "value". Maybe that would be cleaner since in every case the "label" will always be a string. That is something that is consistent no matter the type of value. |
getWidthOfInput is called when you are inputting data into the input field - this wouldn't be a label, it would be the actual value of the input 👍 |
While waiting for an update for this package, you can add a dirty hotfix to your project.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hopefully, this issue can be resolved soon... |
This has been fixed in version 6.0.2 |
There is an issue with the latest 3.0.4 branch that was caused by this commit.
394bde3
The issue is that when I have select items that are objects, this fails with the following error.
It seems pretty clear that this was written for the select options that are strings, but did not take into account the select options that are objects where
replace
is not a function.The text was updated successfully, but these errors were encountered: