mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Stability and bug fixes for the react schema view framework.
This commit is contained in:
committed by
Akshay Joshi
parent
74cec6594e
commit
f7b8969c72
@@ -314,6 +314,7 @@ export const InputText = forwardRef(({
|
||||
};
|
||||
|
||||
let finalValue = (_.isNull(value) || _.isUndefined(value)) ? '' : value;
|
||||
|
||||
if(controlProps?.formatter) {
|
||||
finalValue = controlProps.formatter.fromRaw(finalValue);
|
||||
}
|
||||
@@ -350,7 +351,7 @@ InputText.propTypes = {
|
||||
readonly: PropTypes.bool,
|
||||
disabled: PropTypes.bool,
|
||||
maxlength: PropTypes.number,
|
||||
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||
value: PropTypes.any,
|
||||
onChange: PropTypes.func,
|
||||
controlProps: PropTypes.object,
|
||||
type: PropTypes.string,
|
||||
|
||||
Reference in New Issue
Block a user