Skip to content

Commit 4913865

Browse files
authored
Merge pull request #9424 from GilbertCherrie/fix_ae_method_autocomplete
Fix inline method automplete issue
2 parents 6085d04 + 2de1f7e commit 4913865

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/miq_ae_class/_inputs.html.haml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
:style => flds["datatype"] == "password" ? "display:none" : "",
3838
"data-miq_observe" => obs)
3939
= password_field_tag("#{prefix}fields_password_value_#{i}", '',
40+
:autocomplete => "new-password",
4041
:placeholder => placeholder_if_present(flds['default_value']),
4142
:style => flds["datatype"] == "password" ? "" : "display:none",
4243
"data-miq_observe" => obs)
@@ -75,6 +76,7 @@
7576
:style => session[:field_data][:datatype] == "password" ? "display:none" : "",
7677
"data-miq_observe" => obs)
7778
= password_field_tag("#{prefix}field_password_value", '',
79+
:autocomplete => "new-password",
7880
:placeholder => placeholder_if_present(session[:field_data][:data_value]),
7981
:style => session[:field_data][:datatype] == "password" ? "" : "display:none",
8082
"data-miq_observe" => obs)

0 commit comments

Comments
 (0)