Hello
I recently updated to KendoUI 2018.1.221 and have to do some adjustments now. It looks like that the kendoMaskedTextBox is acting different now and I can't find a (proper) solution for this problem to fix it: There is always a rounded border as soon as I put a kendoMaskedTextBox on a input. I have prepared a simple example or you can use this code to show you the effect:
<!DOCTYPE html>
<html lang=
"en"
>
<head>
<meta charset=
"UTF-8"
>
<!-- Telerik Framework -->
<link href=
"http://kendo.cdn.telerik.com/2018.1.221/styles/kendo.common.min.css"
rel=
"stylesheet"
/>
<link href=
"http://kendo.cdn.telerik.com/2018.1.221/styles/kendo.default.min.css"
rel=
"stylesheet"
/>
<script src=
"http://kendo.cdn.telerik.com/2018.1.221/js/jquery.min.js"
></script>
<script src=
"http://kendo.cdn.telerik.com/2018.1.221/js/kendo.all.min.js"
></script>
<script>
$(document).ready(
function
() {
$(
"#starttime"
).kendoMaskedTextBox({
mask:
'h0:t0:t0'
,
rules: {
'h'
: /[0-2]/,
't'
: /[0-5]/ }
});
});
</script>
</head>
<body style=
"background-color: #f1f1f1"
>
<div>
<input id=
"starttime"
style=
"border:1px solid blue;"
>
</div>
</body>
</html>
As you can see there are two borders:
The inner one seems to be set by the widget.
The outer one is set by me (style). I don't know why that widget puts a border by default (that I don't want). The widget should only mask the input and not style it, imho.
I've checked all your samples on the API page of MaskedTextBox and they all have rounded corners.
How do I get rid of that rounded border inside the input?
Regards