How is your experience with the OutSystems Community?
4
Views
0
Comments
[Input Masks] Incorrect Paste Position When Replacing Selected Text in MaskNumber and MaskPercentag
Input Masks
Forge asset by Product League
Application Type
Reactive

Hello,

We would like to report and inquire about an issue observed while using the latest version of the Input Masks Forge component (Ver0.1.6) in OutSystems Developer Cloud (ODC).

We identified unexpected behavior when pasting text while only part of the input value is selected.

The issue can be reproduced not only with MaskNumber but also with MaskPercentage.

Environment

・OutSystems Developer Cloud (ODC)

・Forge Component: Input Masks

・Version: Ver0.1.6

・Affected Masks:

  ・MaskNumber

  ・MaskPercentage

・Reproduced in a newly installed environment using the latest Forge version


Issue Summary

When a portion of an existing value is selected and a new value is pasted, the selected text is not replaced as expected.

Instead, the pasted value is inserted at an unexpected position.

When the entire value is selected (Ctrl+A), the paste operation works correctly.


Steps to Reproduce

Scenario 1 (Expected Behavior)

 1.Enter "111".

 2.Select all text .

 3.Paste "333".

Expected Result

 333

Actual Result

 333

The behavior is correct.

Scenario 2

 1.Enter "111".

 2.Select the first two digits ("11").

 3.Paste "333".

Expected Result

 3331

Actual Result

 1333

The selected characters are not replaced as expected, and the pasted value is inserted at an incorrect position.

Scenario 3

 1.Enter "111".

 2.Select only the last digit ("1").

 3.Paste "333".

Expected Result

 11333

Actual Result

 33311

Again, the pasted value is inserted at an unexpected position instead of replacing the selected text.


Verification Results

The same issue has been reproduced with both of the following masks:

 ・MaskNumber

 ・MaskPercentage

Because the behavior is identical in both controls, we suspect that the issue may be related to the common paste-handling logic of the Input Masks component rather than a specific mask implementation.


Evidence

Evidence-1

Initial value entered:

111

Evidence-2

Select All + Paste "333"

Expected Result:

333

Actual Result:

333

Evidence-3

Select the first two digits ("11") and paste "333"

Expected Result:

3331

Actual Result:

1333


Evidence-4

Select the last digit ("1") and paste "333"

Expected Result:

11333

Actual Result:

33311

Questions

Could you please help us clarify the following points?

 1.Is this a known issue in Input Masks Ver0.1.6?

 2.Is this behavior related to any limitation or design constraint in ODC?

 3.Is there any recommended configuration or workaround to ensure correct partial-selection paste behavior for MaskNumber and MaskPercentage?

 4.If this is a defect, is there any planned fix or release schedule for a future version?

Please refer to the attached screenshots for evidence of the issue.

Thank you for your support and assistance.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.