Skip to content

Commit 2030efd

Browse files
committed
[PM-39002] scope selectors to flt-semantic-node form prefix
Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
1 parent a38cc7f commit 2030efd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

maps/forms/forms.jsonc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@
100100
// - The password input's `id` is only `current-password` after the field has focus;
101101
// before focus, there's a decoy input with `autocomplete="off"`. The
102102
// form anchor uses only the persistent email input for that reason.
103-
"container": ["form:has(input#email)"],
103+
"container": ["form[id^='flt-semantic-node-']:has(input#email)"],
104104
"fields": {
105-
"username": ["input#email"],
106-
"password": ["input#current-password"]
105+
"username": ["form[id^='flt-semantic-node-'] input#email"],
106+
"password": ["form[id^='flt-semantic-node-'] input#current-password"]
107107
},
108108
"actions": {
109109
"submit": [
110-
"form:has(input#email) flt-semantics[role='button'][flt-semantics-identifier='null_Button_Default_Title']"
110+
"form[id^='flt-semantic-node-']:has(input#email) flt-semantics[role='button'][flt-semantics-identifier='null_Button_Default_Title']"
111111
]
112112
}
113113
}

0 commit comments

Comments
 (0)