-
-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
I'm submitting a bug report
Please tell us about your environment:
-
Operating System:
Windows 10 -
Node Version:
68.11.3 -
NPM Version:
6.6.0 -
Browser:
Firefox 64.02 -
Language:
ESNext
Current behavior:
Create a value converter 👍
export class AddStringValueConverter {
toView(value, string) {
let s = ""+value+string;
console.log("add-string :",value+"=>"+""+s);
return s;
}
}
Create a template 👍
<template>
<input value.bind="test | addString : '.00' & updateTrigger:'blur'" />
<input >
</template>
now input "2" un first field, then puche "tab" (it display "2.00")
then push "Shift+Tab", input "2"
then it display "2" and not "2.00" !!
- What is the expected behavior?
showing "2.00" and not "2"
Metadata
Metadata
Assignees
Labels
No labels