Skip to content

Commit

Permalink
fix hidden required field (fixes froala#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
tisdall committed Nov 7, 2019
1 parent 8200b23 commit fae746f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions froala_editor/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,7 @@ def _media(self):
return Media(css=css, js=js)

media = property(_media)

def use_required_attribute(self, initial):
# textarea is hidden so HTML5 validation won't work properly
return False

0 comments on commit fae746f

Please sign in to comment.