File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ var __meta__ = { // jshint ignore:line
156156 format : "n" ,
157157 spinners : true ,
158158 placeholder : "" ,
159+ selectOnFocus : false ,
159160 factor : 1 ,
160161 upArrowText : "Increase value" ,
161162 downArrowText : "Decrease value" ,
Original file line number Diff line number Diff line change @@ -728,3 +728,9 @@ html .k-error-colored
728728.k-text-justify {
729729 text-align : justify ;
730730}
731+
732+ // Hide Script tags
733+ // see https://github.com/telerik/kendo-themes/issues/2360
734+ script {
735+ display : none !important ;
736+ }
Original file line number Diff line number Diff line change 3434 assert . equal ( numerictextbox . options . format , "p0" ) ;
3535 } ) ;
3636
37+ it ( "initializes a selectOnFocus from data attributes" , function ( ) {
38+ dom = $ ( '<input data-role="numerictextbox" data-select-on-focus="true" />' ) ;
39+
40+ kendo . bind ( dom ) ;
41+
42+ var numerictextbox = dom . data ( "kendoNumericTextBox" ) ;
43+
44+ assert . equal ( numerictextbox . options . selectOnFocus , true ) ;
45+ } ) ;
46+
3747 it ( "initializes value from view model" , function ( ) {
3848 dom = $ ( '<input data-role="numerictextbox" data-bind="value:value" />' ) ;
3949
You can’t perform that action at this time.
0 commit comments