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

Disable the Add More Bed Types option in Facility Page When All Bed Types are fulfilled #9365

Closed
nithish1018 opened this issue Dec 11, 2024 · 3 comments

Comments

@nithish1018
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Right now, the Add More Bed Types button opens a modal to add more bed types even when all types are filled. It's better to disable it and show a tool tip saying "All types are already filled"

Image

Describe the solution you'd like

Disable the button if all types are filled and show a tool tip on hover for user

@nithish1018
Copy link
Contributor Author

@Jacobjeevan @rithviknishad I'd like to work on this and raise a quick PR

@Jacobjeevan
Copy link
Contributor

Jacobjeevan commented Dec 11, 2024

#8956 is reworking the bed and staff capacity logic to make use of Form components; as part of that, this is also being implemented 👍

@nithish1018
Copy link
Contributor Author

Fixed in #8956

@Jacobjeevan Jacobjeevan closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants