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 Jul 8, 2020. It is now read-only.
TextFieldView with M.INPUT_PASSWORD type is rendered as regular text field after FormView.clearForm() is called if initialText is not set on the TextFieldView.
The text was updated successfully, but these errors were encountered:
This seems to be a copy paste bug. Please see my comment below (text_field.js)
setValue: function(value,delegateUpdate,preventValueComputing){this.value=value;// Handle the classOnInit for initial textif(value!=this.initialText){if(this.cssClassOnInit){this.removeCssClass(this.cssClassOnInit);}if(this.inputType==M.INPUT_PASSWORD){// Set the field type to password$('#'+this.id).prop('type','password');}}else{if(this.cssClassOnInit){this.addCssClass(this.cssClassOnInit);}if(this.inputType==M.INPUT_PASSWORD){// Set the field type to text// Ali özgür : COPY/PASTE BUG :) // $('#' + this.id).prop('type','text');$('#'+this.id).prop('type','password');}}this.renderUpdate(preventValueComputing);if(delegateUpdate){this.delegateValueUpdate();}},
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
TextFieldView with M.INPUT_PASSWORD type is rendered as regular text field after FormView.clearForm() is called if initialText is not set on the TextFieldView.
The text was updated successfully, but these errors were encountered: