Skip to content
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

Delete institution scenario #43

Closed
4 tasks done
skorphil opened this issue Feb 21, 2024 · 3 comments · Fixed by #55
Closed
4 tasks done

Delete institution scenario #43

skorphil opened this issue Feb 21, 2024 · 3 comments · Fixed by #55
Assignees
Labels
enhancement New feature or request

Comments

@skorphil
Copy link
Owner

skorphil commented Feb 21, 2024

@skorphil skorphil self-assigned this Feb 21, 2024
@skorphil skorphil added the enhancement New feature or request label Feb 21, 2024
@skorphil
Copy link
Owner Author

The question is - How to mark institution deleted?

  1. Disable fields?
  2. Create new state with list of disabled institution?
  3. Use a hidden field in use-hook-form, ie isDeleted ?

@skorphil
Copy link
Owner Author

[validateDOMNesting(...): <button> cannot appear as a descendant of <button>](https://stackoverflow.com/questions/61341666/validatedomnesting-button-cannot-appear-as-a-descendant-of-button)

@skorphil
Copy link
Owner Author

Again got the problem with rerendering on formState hook change. The previous solution not working #53

@skorphil skorphil added this to the Dynamic form milestone Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
1 participant