mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Port Foreign Data Wrapper, Foreign Server and User Mapping nodes to react. Fixes #6583
This commit is contained in:
@@ -186,7 +186,7 @@ export const InputText = forwardRef(({
|
||||
changeVal = controlProps.formatter.toRaw(changeVal);
|
||||
}
|
||||
onChange && onChange(changeVal);
|
||||
}
|
||||
};
|
||||
|
||||
let finalValue = (_.isNull(value) || _.isUndefined(value)) ? '' : value;
|
||||
if(controlProps?.formatter) {
|
||||
@@ -562,7 +562,7 @@ function getRealValue(options, value, creatable, formatter) {
|
||||
}
|
||||
|
||||
export function InputSelect({
|
||||
cid, onChange, options, readonly=false, value, controlProps={}, optionsLoaded, optionsReloadBasis, disabled, ...props}) {
|
||||
cid, onChange, options, readonly=false, value, controlProps={}, optionsLoaded, optionsReloadBasis, disabled, ...props}) {
|
||||
const [[finalOptions, isLoading], setFinalOptions] = useState([[], true]);
|
||||
const theme = useTheme();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user