Skip to content

Commit

Permalink
fix(prefill): do not disable textfield due to phishing concerns (#540)
Browse files Browse the repository at this point in the history
Co-authored-by: Yuanruo Liang <[email protected]>
  • Loading branch information
liangyuanruo and Yuanruo Liang authored Oct 29, 2020
1 parent 8df6903 commit 1f8ff86
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ function fieldDirective(FormFields, $location, $sanitize) {
// Only support unique query params. If query params are duplicated,
// none of the duplicated keys will be prefilled
scope.field.fieldValue = $sanitize(prefillValue) // $sanitize as a precaution to prevent xss
scope.field.disabled = true
}
}

Expand Down

0 comments on commit 1f8ff86

Please sign in to comment.