Skip to content

Only lastly created qrcode can be updated when multiple codes are on a page #2

@brahmwindeler

Description

@brahmwindeler

If multiple qrcodes are generated on a page and the data is then changed for any of the qrcodes other than the last, the last qrcode generated is changed. Maybe there is data that is being stored in the class rather than in the instance of the QRCode object?

It can be reproduced by creating three text areas that supply the data to encode, creating some functions that instantiate/update the QRCode objects, and then changing the data in the text areas. I've created a jsfiddle page to do this here: http://jsfiddle.net/p6dLK/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions