Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #101844
    tullio0106
    Member

    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
    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
    tullio0106
    Member

    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
    yavordashew
    Member

    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/

    #103174
    Joseph Norris
    Blocked

    Once 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)}

    #103176
    admin
    Keymaster

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

    Smart UI Team
    https://www.htmlelements.com/

    #103188
    Joseph Norris
    Blocked

    Yeah, 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.

    #103189
    admin
    Keymaster

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

    Smart UI Team
    https://www.htmlelements.com/

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.