conventional-blackC
Refine2y ago
3 replies
conventional-black

how to hide some fields depending on one other?

in the edit field i can hide the field using watch exported from useForm but i also need to hide the field in the show field.
im not using useForm in the show field.
im using useShow
const {queryResult: {data, isLoading, isError, error, failureReason}} = useShow();

as far as i have checked there is no watch method in the useShow hook. any ideas?
Was this page helpful?