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
The behavior is correct.
Scenario 2
2.Select the first two digits ("11").
3331
1333
The selected characters are not replaced as expected, and the pasted value is inserted at an incorrect position.
Scenario 3
2.Select only the last digit ("1").
11333
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:
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:
Actual Result:
Evidence-3
Select the first two digits ("11") and paste "333"
Evidence-4
Select the last digit ("1") and paste "333"
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.