[#11734] 2.2.6 (testing) cms_filepicker setting 'required' parameter to true raises js error
History
Updated: 2019-07-10 09:26
resolution_id: 5 => 7
Updated: 2018-02-14 10:20
description: Found in 2.2.6 during tests. Didn't check previous versions
Example:
{cms_filepicker name=$field->nameattr type='image' required=1}
/lib/jquery/js/jquery.cmsms_filepicker.js
starting at line 41:
if( typeof(this.options.required => Found in 2.2.6 during tests. Didn't check previous versions
Note it seems that when using cms_filepicker as content block in a page template the 'required' parameter is ignored altogether. So reproducing should NOT be done via page template. I checked
resolution_id: => 5