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
got error when resize window #40
Comments
Can I please have a bit more details? I tested it on Chrome Firefox and IE11, but I don't get any error. |
Maybe I did something wrong,I will check it again, thank you! I am using Cackephp 2.4.3 here is my source :/layout/ /* ctp */ Form->create('aModel', array( 'inputDefaults' => array( 'div'=>'col-xs-12', 'wrapInput' => false, 'label' => false, 'class' => 'form-control', ), )); ?>
|
I don't see the |
I am using CakePHP, not CackePHP,sorry for my pool english ... |
Ok, so in your code there were two errors (in the plunk): a trailing comma on the options object and you were including the file from GitHub. Here is the corrected version: |
I get this error by opening Chrome Dev Tools. I tested it on the plunker snippet(above), and it occurs there as well. http://cl.ly/image/1o1S1S1o001L It's not a big deal, but still would prefer to have my console clean of errors. |
I am not sure it's a bug or my my failt,
when resizing window, error waw shown like below
"Uncaught TypeError: Cannot call method 'outerWidth' of undefined "
if I focus the input at first, resizing the window will not show this error.
So, at line 276 of source file, I added below
if(maxLengthIndicator === undefined) return;
the error disappeared.
The text was updated successfully, but these errors were encountered: