Merge pull request #1935 from edx/fix/formularesponse_needs_samples
formularesponse requires the "samples" attribute
This commit is contained in:
@@ -1783,7 +1783,7 @@ class FormulaResponse(LoncapaResponse):
|
||||
response_tag = 'formularesponse'
|
||||
hint_tag = 'formulahint'
|
||||
allowed_inputfields = ['textline']
|
||||
required_attributes = ['answer']
|
||||
required_attributes = ['answer', 'samples']
|
||||
max_inputfields = 1
|
||||
|
||||
def setup_response(self):
|
||||
|
||||
Reference in New Issue
Block a user