Skip to content

Commit 5fe0d17

Browse files
author
OpenShift Bot
authored
Merge pull request #1208 from spadgett/dont-capitalize-image-name-field
Merged by openshift-bot
2 parents 25aa8ff + d5b1a32 commit 5fe0d17

File tree

5 files changed

+23
-11
lines changed

5 files changed

+23
-11
lines changed

app/views/directives/deploy-image.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
select-on-focus
3939
ng-disabled="mode !== 'dockerImage'"
4040
placeholder="Image name or pull spec"
41-
class="form-control">
41+
class="form-control"
42+
autocorrect="off"
43+
autocapitalize="off"
44+
spellcheck="false">
4245
<span class="input-group-btn">
4346
<button class="btn btn-default"
4447
type="submit"

app/views/directives/events.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
placeholder="Filter by keyword"
1212
class="form-control"
1313
id="events-filter"
14-
ng-model="filter.text">
14+
ng-model="filter.text"
15+
autocorrect="off"
16+
autocapitalize="off"
17+
spellcheck="false">
1518
<button
1619
type="button"
1720
class="clear"

app/views/membership.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ <h3>
177177
type="text"
178178
class="form-control input-name"
179179
placeholder="Name"
180-
ng-model="newBinding.name">
180+
ng-model="newBinding.name"
181+
autocorrect="off"
182+
autocapitalize="off"
183+
spellcheck="false">
181184
<div
182185
ng-if="newBinding.kind === 'ServiceAccount'"
183186
class="service-account-namespace hidden-sm hidden-md hidden-lg"

app/views/monitoring.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ <h1>
2525
<form role="form" class="search-pf has-button">
2626
<div class="form-group filter-controls has-clear">
2727
<div class="search-pf-input-group">
28-
<label for="events-filter" class="sr-only">Filter by name</label>
28+
<label for="name-filter" class="sr-only">Filter by name</label>
2929
<input type="search"
3030
placeholder="Filter by name"
3131
class="form-control"
32-
id="events-filter"
33-
ng-model="filters.text">
32+
id="name-filter"
33+
ng-model="filters.text"
34+
autocorrect="off"
35+
autocapitalize="off"
36+
spellcheck="false">
3437
<button
3538
type="button"
3639
class="clear"

dist/scripts/templates.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6508,7 +6508,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
65086508
"<div class=\"form-group\">\n" +
65096509
"<label for=\"imageName\" class=\"sr-only\">Image name or pull spec</label>\n" +
65106510
"<div class=\"input-group\">\n" +
6511-
"<input type=\"search\" id=\"imageName\" ng-model=\"imageName\" required select-on-focus ng-disabled=\"mode !== 'dockerImage'\" placeholder=\"Image name or pull spec\" class=\"form-control\">\n" +
6511+
"<input type=\"search\" id=\"imageName\" ng-model=\"imageName\" required select-on-focus ng-disabled=\"mode !== 'dockerImage'\" placeholder=\"Image name or pull spec\" class=\"form-control\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\">\n" +
65126512
"<span class=\"input-group-btn\">\n" +
65136513
"<button class=\"btn btn-default\" type=\"submit\" ng-disabled=\"!imageName\" ng-click=\"findImage()\">\n" +
65146514
"<i class=\"fa fa-search\" aria-hidden=\"true\"></i>\n" +
@@ -7110,7 +7110,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
71107110
"<div class=\"form-group filter-controls has-clear\">\n" +
71117111
"<div class=\"search-pf-input-group\">\n" +
71127112
"<label for=\"events-filter\" class=\"sr-only\">Filter</label>\n" +
7113-
"<input type=\"search\" placeholder=\"Filter by keyword\" class=\"form-control\" id=\"events-filter\" ng-model=\"filter.text\">\n" +
7113+
"<input type=\"search\" placeholder=\"Filter by keyword\" class=\"form-control\" id=\"events-filter\" ng-model=\"filter.text\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\">\n" +
71147114
"<button type=\"button\" class=\"clear\" aria-hidden=\"true\" ng-if=\"filter.text\" ng-click=\"filter.text = ''\">\n" +
71157115
"<span class=\"pficon pficon-close\"></span>\n" +
71167116
"</button>\n" +
@@ -10325,7 +10325,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1032510325
"<label ng-attr-for=\"newBindingName\" class=\"sr-only\">\n" +
1032610326
"Name\n" +
1032710327
"</label>\n" +
10328-
"<input type=\"text\" class=\"form-control input-name\" placeholder=\"Name\" ng-model=\"newBinding.name\">\n" +
10328+
"<input type=\"text\" class=\"form-control input-name\" placeholder=\"Name\" ng-model=\"newBinding.name\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\">\n" +
1032910329
"<div ng-if=\"newBinding.kind === 'ServiceAccount'\" class=\"service-account-namespace hidden-sm hidden-md hidden-lg\" aria-hidden=\"true\">\n" +
1033010330
"<ui-select ng-model=\"newBinding.namespace\" theme=\"bootstrap\" search-enabled=\"true\" title=\"Select a project\" class=\"select-role\">\n" +
1033110331
"<ui-select-match placeholder=\"Select a project\">\n" +
@@ -10769,8 +10769,8 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1076910769
"<form role=\"form\" class=\"search-pf has-button\">\n" +
1077010770
"<div class=\"form-group filter-controls has-clear\">\n" +
1077110771
"<div class=\"search-pf-input-group\">\n" +
10772-
"<label for=\"events-filter\" class=\"sr-only\">Filter by name</label>\n" +
10773-
"<input type=\"search\" placeholder=\"Filter by name\" class=\"form-control\" id=\"events-filter\" ng-model=\"filters.text\">\n" +
10772+
"<label for=\"name-filter\" class=\"sr-only\">Filter by name</label>\n" +
10773+
"<input type=\"search\" placeholder=\"Filter by name\" class=\"form-control\" id=\"name-filter\" ng-model=\"filters.text\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\">\n" +
1077410774
"<button type=\"button\" class=\"clear\" aria-hidden=\"true\" ng-if=\"filters.text\" ng-click=\"filters.text = ''\">\n" +
1077510775
"<span class=\"pficon pficon-close\"></span>\n" +
1077610776
"</button>\n" +

0 commit comments

Comments
 (0)