-
Notifications
You must be signed in to change notification settings - Fork 3
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
Passing options - the right syntax to use #6
Comments
@belgoros as mentioned by another poster in #4, you must pass an |
If it worked that way, I wouldn't open this issue. If you really have time, you can take a look at the example app to see the errors:
In the browser there is even no input displayed and here are the errors in the console: |
I understand but if you look at the code, you'll be able to see that it doesn't accept any additional params except for
This is because you're using As for the other error, I'm not sure what the error is pointing to. I'm using this in my production application with no issues. Can you try with only your |
Can you click on the |
@belgoros thanks. not sure what the issue is, to be honest. It looks like some sort of transpilation issue or something. If I run into it during my testing, I will let you know. |
OK, thank you for your time 👍 |
What is the rignt syntax to use when passing more than one option in the template ?
I tried as follows:
what should display the time in 24 hours format (18:00, for ex.) as explained in jQuery options docs
But it fails and still displays it as follows:
More over, how to pass more than one option ? Event if I change the format to
H:mm
, - it changes nothing at all, I still have the same time format applied as in the above screenshot.I tried the following variants and the compilation failed:
Thank you
The text was updated successfully, but these errors were encountered: