Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by Avatar Yavor Dashev 1 month, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #101844
    Avatar
    tullio0106
    Participant

    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 ?

    Tks

    #101845
    Avatar
    admin
    Keymaster

    Hi 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/

    #102107
    Avatar
    tullio0106
    Participant

    I 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.

    Tks

    #102108
    Avatar
    Yavor Dashev
    Participant

    Hi 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/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.