Skip to content

Commit

Permalink
Add error-msg class in ValidationErrors for settings (#1064)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Talreja <[email protected]>
(cherry picked from commit bf3fe5d)
  • Loading branch information
Gauravtalreja1 authored and web-flow committed Dec 7, 2023
1 parent 256a2e8 commit 14e65af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airgun/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ class ValidationErrors(Widget):
ERROR_ELEMENTS = ".//*[contains(@class,'has-error') and not(contains(@style,'display:none'))]"
ERROR_MESSAGES = (
".//*[(contains(@class, 'alert base in fade alert-danger')"
"or contains(@class,'error-msg') "
"or contains(@class,'error-msg-block')"
"or contains(@class,'error-message') "
"or contains(@class,'editable-error-block')) "
Expand Down

0 comments on commit 14e65af

Please sign in to comment.