mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 15:16:01 +00:00
share tab content
This commit is contained in:
@@ -24,6 +24,12 @@ export function FormFieldTemplate({ label, children, type }) {
|
||||
);
|
||||
}
|
||||
|
||||
export function FormCondition({ condition, children }) {
|
||||
const { values } = useForm();
|
||||
if (condition(values)) return children;
|
||||
return null;
|
||||
}
|
||||
|
||||
export function FormTextFieldRaw({ name, focused = false, ...other }) {
|
||||
const { values, setFieldValue } = useForm();
|
||||
const handleChange = (event) => {
|
||||
|
||||
Reference in New Issue
Block a user