Skip to content

Conversation

mafanya23
Copy link
Contributor

No description provided.


@example:
const value = form.getItem("textarea").getText();
// -> "100000.01"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mafanya23 нужно будет поправить также для input.
Лучше всего показать пример, который покажет в каких случаях какие значения получит пользователь.

consu input = form.getItem("input");
input.setValue(1000.01);

input.getValue(); // 1000.01 for input type number
input.getValue(); // "1000.01" for input type string

input.getText(); // "1,000.01" with applied numberMask/patternMask

@mafanya23 mafanya23 merged commit 2f5e1cf into master Dec 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants