mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed some UX issue with the Import/Export tool.
- Couldn't click on the filename control once gets an error. - Encoding is not in alphabetical order.
This commit is contained in:
committed by
Ashesh Vashi
parent
5141debae7
commit
c4ca781ce2
@@ -2201,6 +2201,16 @@
|
||||
|
||||
// Set selected value into the model
|
||||
this.model.set(name, decodeURI(value));
|
||||
},
|
||||
clearInvalid: function() {
|
||||
Backform.InputControl.prototype.clearInvalid.apply(this, arguments);
|
||||
this.$el.removeClass("pgadmin-file-has-error");
|
||||
return this;
|
||||
},
|
||||
updateInvalid: function() {
|
||||
Backform.InputControl.prototype.updateInvalid.apply(this, arguments);
|
||||
// Introduce a new class to fix the error icon placement on the control
|
||||
this.$el.addClass("pgadmin-file-has-error");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user