Commit 6919737e authored by renatog's avatar renatog Committed by renatog
Browse files

Issue #3273419 by RenatoG: Implement the default case transformation when the...

Issue #3273419 by RenatoG: Implement the default case transformation when the user fill the attribute value
parent 66d138cf
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -313,6 +313,10 @@
              $(this).val($(this).val().toUpperCase());
            });

            // Transform the text to uppercase when the default case is uppercase.
            $('.multiple-textfield-attribute').find('input').keyup(function() {
              $(this).val($(this).val().toUpperCase());
            });
          }
          else {
            // If the default is lowercase convert all letters to lowercase.
@@ -320,6 +324,11 @@
              $(this).val($(this).val().toLowerCase());
            });

            // Transform the text based on the settings item.
            $('.multiple-textfield-attribute').find('input').keyup(function() {
              $(this).val($(this).val().toLowerCase());
            });

          }
        }
      }