JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Problem with carousel
Tagged: carousel
- This topic has 7 replies, 4 voices, and was last updated 2 years, 6 months ago by admin.
-
AuthorPosts
-
May 25, 2021 at 10:13 am #101844tullio0106Member
I’m using smart-carousel and in the last slide I allways get a 404 no data found.
<smart-carousel data-source="[
{label : ' ', image : 'immagini/berlina/rosso.jpg'},
{label : '1-10V', image : 'immagini/berlina/verde.jpg'},
{label : 'DALI', image : 'immagini/berlina/rosso.jpg'},
{label : 'NVL', image : 'immagini/berlina/nero.jpg'},
{label : 'AmpDimm', image : 'immagini/berlina/verde.jpg'}
]
"></smart-carousel>
Traking network requests I got, for the last slide a wrong address : it requests “immagini/berlina/verde.jpg}” and not “immagini/berlina/verde.jpg”.
Is it a bug ?
How can I solve ?
TksMay 25, 2021 at 11:38 am #101845adminKeymasterHi tullio0106,
The image property is set the same way you set it in the code. We do not modify it and we do not have a reason to do it. If the URL is wrong, the browser will show a network error.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/July 29, 2021 at 10:00 am #102107tullio0106MemberI get back to that problem.
With the previuous datasource I still have the problem : the image url is correct but it requests the imageurl plus the last “}” wich doesn’t exist.
It seems to be a bug.
TksJuly 29, 2021 at 12:36 pm #102108yavordashewMemberHi Tulio,
I tested the SmartCarousel component with the latest version and everything works as intended.
If you can create a complete code example which reproduces the issue we can be able to give you a solution about it.
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/May 9, 2022 at 6:12 pm #103174Joseph NorrisBlockedOnce again (this is the fourth component in a row) the react sample code does not work as written.
You have to use
DataSource={generateDataSource(6)}May 9, 2022 at 6:30 pm #103176adminKeymasterHi Joseph,
How do you use these components? The sample code is available in the download package and does not produce such errors.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/May 10, 2022 at 4:17 pm #103188Joseph NorrisBlockedYeah, they do. In fact, so far EVERY single sample react code produces errors. It seems your downloaded code doesn’t match up with your samples.
The Droplist is the worst (so far). Your sample uses
<ListItem value="1">Affogato</ListItem>
But your actual code for ListItem objects doesn’t support a value attribute. Nor does your “theme” value work either.I’m in the process of evaluating your product for my company, and thus far, I WOULD NOT recommend it for purchase.
May 10, 2022 at 4:32 pm #103189adminKeymasterHi Joseph,
There is some misunderstanding here. All the code samples are runnable as is. We shared a code sample in codesandbox without errors so we do not understand what is different in our environment and yours. In fact the ListItem has value attribute and all components have theme attribute, too. Sorry to learn that your evaluation is not going well.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/ -
AuthorPosts
- You must be logged in to reply to this topic.