Hi,
I am having problems with the InLine Editor formatting the initial value of a custom formatted numeric text box. See code below where I have tested it against the standard NumericTextBox.
//Numeric Text Box
var numeric = new ej.inputs.NumericTextBox({
// sets the format using custom format string `#`
format: 'PREFIX ###.##',
value: 10.56,
placeholder: 'Custom format string #',
floatLabelType: 'Auto'
});
numeric.appendTo('#numeric');
//Inline Edtior
var numeric1 = new ej.inplaceeditor.InPlaceEditor({
mode: 'Inline',
type: 'Numeric',
model: {
format: 'PREFIX ###.##',
placeholder: 'Purchase Order Total',
value: 10.56,
floatLabelType: 'Auto'
},
value: 10.56,
});
numeric1.appendTo('#inline');
see: http://www.youtube.com/watch?v=CQ0C1veGtuo
As you can see if I try and set a non numeric value to the inline editor the value gets lost on edit.
Criag