Opened 8 years ago

Closed 8 years ago

#14698 closed defect (invalid)

ValidationTextBox show / hide tooltip regression

Reported by: Pete Smith Owned by: Douglas Hays
Priority: undecided Milestone: tbd
Component: Dijit - Form Version: 1.7.1
Keywords: Cc:
Blocked By: Blocking:

Description

I was expecting to be able to pass my ValidationTextBox? a "tooltipPosition: above?" property to have the tooltip display above the field. It would not work with the new "tooltip show / hide" api.

I had to revert the code in ValidationTextBox? from:

		displayMessage: function(/*String*/ message){
			// summary:
			//		Overridable method to display validation errors/hints.
			//		By default uses a tooltip.
			// tags:
			//		extension
			if(message && this.focused){
				Tooltip.show(message, this.domNode, this.tooltipPosition, !this.isLeftToRight());
			}else{
				Tooltip.hide(this.domNode);
			}
		},

to the old way

		displayMessage: function(/*String*/ message){
			// summary:
			//		Overridable method to display validation errors/hints.
			//		By default uses a tooltip.
			// tags:
			//		extension
			if(message && this.focused){
				dijit.showTooltip(message, this.domNode, this.tooltipPosition, !this.isLeftToRight());
			}else{
				dijit.hideTooltip(this.domNode);
			}
		}

It was complaining about "aroundCorner is undefined" in place.js.

</httpete>

Change History (1)

comment:1 Changed 8 years ago by Douglas Hays

Resolution: invalid
Status: newclosed

Specify tooltipPosition as String[] not String

Note: See TracTickets for help on using tickets.