-
Notifications
You must be signed in to change notification settings - Fork 15
Don't show parent tags when adding the child. #666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
(state) => state.form.global?.[field], | ||
); | ||
const formData = useSelector<FormState, T>((state) => { | ||
return state.form.global?.[field]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iFlameing we don't need this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is just for me to remove the unnecessary changes.
}; | ||
}; | ||
|
||
export function useLiveData<T>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to document it in the docs. Please ask me whatever you need.
(state) => state.form.global?.[field], | ||
); | ||
const formData = useSelector<FormState, T>((state) => { | ||
return state.form.global?.[field]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
const location = useLocation(); | ||
const addMode = location?.pathname?.endsWith('/add'); | ||
const current = behavior | ||
? content?.['@components']?.inherit?.[behavior]?.data?.[field] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you removed the cast.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added once again.
@sneridagh It is also ready for merge. |
No description provided.