Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11623 closed defect (duplicate)

dijit.form.ValidationTextBox breaks as XHTML

Reported by: mctom987 Owned by:
Priority: high Milestone: 1.5.1
Component: Dijit - Form Version: 1.5
Keywords: xhtml xml html validation dijit Cc:
Blocked By: Blocking:

Description

The template html used in dijit.form.ValidationTextBox? uses a HTML4-only attribute style.

	><div class='dijitReset dijitValidationContainer'
		><input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&Chi; " type="text" tabIndex="-1" '''readOnly''' waiRole="presentation"
	/></div

This should be

	><div class='dijitReset dijitValidationContainer'
		><input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&Chi; " type="text" tabIndex="-1" '''readonly="readonly"''' waiRole="presentation"
	/></div

for compliance with XML.

Attachments (2)

ValidationTextBox.html (546 bytes) - added by mctom987 9 years ago.
Fixed version of file.
ValidationTextBox.diff (924 bytes) - added by mctom987 9 years ago.
Unified diff file

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by mctom987

Attachment: ValidationTextBox.html added

Fixed version of file.

Changed 9 years ago by mctom987

Attachment: ValidationTextBox.diff added

Unified diff file

comment:1 Changed 9 years ago by bill

Resolution: duplicate
Status: newclosed

Dup of #11571.

comment:2 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.