Skip to content

work with BigInt #779

@qwer24rus

Description

@qwer24rus

Hello, I am having problems with BigInt used in action parameters.
For example:
<i class="message-edit" data-action="click->notes#editNote" data-notes-id-param="676280779033907854" data-notes-text-param="test text"></i>
if I check the parameters in action(event.params), I get:
{ id: 676280779033907800, text: 'test text' }
so id now 676280779033907800 instead of 676280779033907854
How can we support BigInt here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions