Skip to content

Live Demo page will overwrite any edits to main.js demo code whenever search string is updated #790

@inferrinizzard

Description

@inferrinizzard

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

On the live demo page: https://www.fusejs.io/demo.html,
whenever the search string is updated, any changes made to the main.js demo code will be overwritten with the default values.

Ideally, the demo code editor should preserve changes even when the above search string is updated to allow test users to easily try different configs and different search strings without it interrupting.

Screenshots

Before: ("angel" search string, all options uncommented)
image

After changing the search string: (changes all reverted)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions