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
JQM datebox does not respect theming #110
Comments
The problem is, datebox has many, many internal elements to theme. (many). It is explained in depth here: http://dev.jtsage.com/jQM-DateBox/demos/api/themes.html I choose not to do simple inheritance, because which elements should inherit? (as it is, the original input actually does inherit correctly - which is of course hidden in your example) |
Also, you were sort of right. data-theme did not properly inherit to the input element. It does now. Again though, all internal controls are configured via options - if anyone has a better idea on this, I am open to suggestions. |
Okay, nice to hear.. Im using datebox on this site: after choosing skiskunne from the list the datebox is displayed.. smartload is being built as a service where i let the users style their page, so it would be great to get the datebox themed according to the page, why not programtically take the parent data-theme and apply it to all elements in the datebox? I noticed that when switching to the latest version of jqm datebox i get the following error (u can test this in the page above): // FIX THE SET BUTTON When using the old version it worked.. I also tried using the latest version of jQueryMobile and jQuery but that didn't help |
Fixed that but, gave you the option to "forceInheritTheme" - it will pull the internal control themes from the first parent with a theme when set to true. |
Hi, from the documentation you get the understanding that the JQM datebox should be automatically styled using the selected JQM data-theme, this is however not the case and i cannot get it to change:
http://www.smartload.se/?resort=666&lang=se
What am i missing here?
The text was updated successfully, but these errors were encountered: