You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
When rendered from script, choiceFields (both radio buttons and checkboxes) render fine in firefox but render as text inputs in IE8. I will do a little more digging to see if I can see the issue.
Looks like SubmitButton and ResetButton field types also render as input boxes.
The text was updated successfully, but these errors were encountered:
The problem seems to be that you can't change a input type in IE through javascript. So the problem is in Y.FormField._syncFieldNode where you try to change the "type" attribute of an input node.
_syncFieldNode: function(){varnodeType=this.INPUT_TYPE||this.name.split('-')[0];if(!nodeType){return;}this._fieldNode.setAttrs({name: this.get('name'),type: nodeType,// this never changes in IEid: this.get('id')+Y.FormField.FIELD_ID_SUFFIX,value: this.get('value')});this._fieldNode.setAttribute('tabindex',Y.FormField.tabIndex);Y.FormField.tabIndex++;},
Note that this problem occurs for any field in IE that is an input node with a type other than text (e.g. inputs with types checkbox, radio, submit and reset). Select and textareas render ok in IE.
When rendered from script, choiceFields (both radio buttons and checkboxes) render fine in firefox but render as text inputs in IE8. I will do a little more digging to see if I can see the issue.
Looks like SubmitButton and ResetButton field types also render as input boxes.
The text was updated successfully, but these errors were encountered: