Ver código fonte

chore: update .eslintrc globals

style: updated data.js spacing format
version-14
Gavin D'souza 5 anos atrás
pai
commit
e57a5d347d
2 arquivos alterados com 2 adições e 1 exclusões
  1. +1
    -0
      .eslintrc
  2. +1
    -1
      frappe/public/js/frappe/form/controls/data.js

+ 1
- 0
.eslintrc Ver arquivo

@@ -78,6 +78,7 @@
"has_common": true,
"has_words": true,
"validate_email": true,
"validate_phone": true,
"get_number_format": true,
"format_number": true,
"format_currency": true,


+ 1
- 1
frappe/public/js/frappe/form/controls/data.js Ver arquivo

@@ -87,7 +87,7 @@ frappe.ui.form.ControlData = frappe.ui.form.ControlInput.extend({
return val==null ? "" : val;
},
validate: function(v) {
if (!v){
if (!v) {
return '';
}
if(this.df.is_filter) {


Carregando…
Cancelar
Salvar