Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Focus bug on text-item with keyPressFilter

$
0
0
Hi,
We have detected a bug using TextItems with kexpress-filters.
Adding a character between existing ones th cursor jumps to the end of the textitem. I think the cursor should stay in the choosen position like it happens if you delete the keyPressFilter.


This happens with Firefox 34.0 and Chrome 39.0.2171.95 m. It doesn't happen in Internet Explorer 11.0.9600.17501. And the latest nightly build SmartClient_v100p_2014-12-13_Pro

With this code you can reproduce it:
Code:

isc.DynamicForm.create({
        "fields" : [{
                        "name" : "priceitem",
                        "title" : "price",
                        "type" : "text",
                        "keyPressFilter" : "[0-9.,]"
                }
        ],
        "values" : {
                "priceitem" : "33,00"
        }
});

Best Regards

Viewing all articles
Browse latest Browse all 4756

Trending Articles