2014-12-23 2 views

답변

0

당신은 비활성화 할 수 있습니다이

this.createDateTextBox = function() { 
 
\t \t this.dateTextbox = new dijit.form.DateTextBox({ 
 
\t \t \t name : this.name, 
 
\t \t \t id : this.name 
 
\t \t }); 
 
\t };
내가 잘못된 툴팁 메시지를 보여주고 싶지 않는

this.setProperties = function(){ 
 
\t \t this.dateTextbox.constraints={selector:'date',required: false, datePattern:'dd MMMM yyyy', min:new Date()} 
 
\t };

같은 임 작성 날짜 텍스트 상자 첨부 이미지와 같이 과도기에 의한 툴팁 메시지 빈 함수를 사용하여 displayMessage 함수를 대체합니다.

예 :

this.dateTextbox = new dijit.form.DateTextBox({ 
      name : this.name, 
      id : this.name, 
      displayMessage : function(){ 

      } 
     }); 

JSFiddle : 나는 코드의 3 가지 아래를 시도 http://jsfiddle.net/kagant15/4vud29jt/

+0

감사합니다. Thomas, 저에게 도움이되었습니다. – user1516871

관련 문제