0
잘못된 툴팁 메시지를 표시하지 않거나 표시하지 않겠습니까? Dojo 날짜 텍스트 상자 유효하지 않은 메시지 숨기기
잘못된 툴팁 메시지를 표시하지 않거나 표시하지 않겠습니까? Dojo 날짜 텍스트 상자 유효하지 않은 메시지 숨기기
당신은 비활성화 할 수 있습니다이
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/
감사합니다. Thomas, 저에게 도움이되었습니다. – user1516871
:. dijit.byId ("newHolidayDate") ATTR ('_ InvalidMessage은', '요한은 허용되지 않습니다'); holidayDateSelectBox.attr ('promptMessage', '날짜를 MM/dd/yyyy 형식으로 입력하십시오'); holidayDateSelectBox.set ("message", 'John is not allowed'); – user1516871