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]>
  • Loading branch information
Gauravtalreja1 authored Dec 7, 2023
1 parent 08238d8 commit bf3fe5d
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 @@ -922,6 +922,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 bf3fe5d

Please sign in to comment.