Uploaded image for project: 'DNN Platform'
  1. DNN-27696

dnnCheckbox should not be applied to every checkbox

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Complete
    • Affects Version/s: 7.1.0
    • Fix Version/s: 7.1.2
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Severity:
      Minor
    • Fixed in Build:
      #7.1.2.261
    • Documentation Required:
      No
    • Sprint:
      Sprint 1, Sprint 2, Sprint 3

      Description

      Currently, the dnn.jquery.js code will force DNN styling on every checkbox that appears on a page.
      dnn.jquery.js - Line 4041-4042 
      $('input[type="checkbox"]').dnnCheckbox();$('input[type="radio"]').dnnCheckbox(

      { cls: 'dnnRadiobutton' }

      );
       
      This breaks controls which provide custom behavior and styling for checkboxes. This is very common for jQuery plugins.  Instead, the core should only apply checkbox styling to checkboxes or radiobuttons which specifically opt-in to this behavior and not every checkbox/radiobutton on a page.
       
       

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jbrinkman Joe Brinkman
              • Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support