-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIO-9144 Fix cursor jump in number component
- Use the length of the input value instead of root.currentSelection so that delimiters are included in the length. - Add test for number component that asserts the correct input selection start (caret/cursor) position.
- Loading branch information
1 parent
bcf06c2
commit 2510cbe
Showing
4 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export default { | ||
components: [ | ||
{ | ||
label: 'Number', | ||
mask: true, | ||
tableView: false, | ||
modalEdit: true, | ||
multiple: true, | ||
delimiter: ',', | ||
requireDecimal: false, | ||
inputFormat: 'plain', | ||
truncateMultipleSpaces: false, | ||
key: 'number', | ||
type: 'number', | ||
input: true | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters