-
Notifications
You must be signed in to change notification settings - Fork 112
Set Inputs into same size #16680
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: development
Are you sure you want to change the base?
Set Inputs into same size #16680
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -10,20 +10,20 @@ | |||||
| <ui:composition template="/reports/index.xhtml"> | ||||||
| <ui:define name="subcontent"> | ||||||
|
|
||||||
| <h:form > | ||||||
| <h:form class="w-100"> | ||||||
| <p:panel header="Surgery Status Report" > | ||||||
| <h:panelGrid columns="3" class="w-100" > | ||||||
|
|
||||||
| <p:outputLabel value="OT Room" > | ||||||
| </p:outputLabel> | ||||||
| <p:selectOneMenu value="#{reportController.currentSpeciality}"> | ||||||
| <p:selectOneMenu value="#{reportController.currentSpeciality}" class=" w-50"> | ||||||
| <f:selectItem itemLabel="Select OT Room"/> | ||||||
| </p:selectOneMenu> | ||||||
|
|
||||||
| <p:spacer width="20"/> | ||||||
| <p:outputLabel value="Proposed Surgery" > | ||||||
| </p:outputLabel> | ||||||
| <p:selectOneMenu > | ||||||
| <p:selectOneMenu class=" w-50" > | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add missing value binding for "Proposed Surgery" selection. The p:selectOneMenu for "Proposed Surgery" has no Apply this diff to add a value binding: -<p:selectOneMenu class=" w-50" >
+<p:selectOneMenu value="#{reportController.currentSurgery}" class=" w-50" >(Adjust the property name to match your controller's actual property for surgery selection.) 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| <f:selectItem itemLabel="Select Surgery"/> | ||||||
| </p:selectOneMenu> | ||||||
| </h:panelGrid> | ||||||
|
|
||||||
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.
Fix semantic mismatch: "OT Room" label bound to
currentSpecialityproperty.The p:outputLabel indicates "OT Room" but the selectOneMenu binds to
#{reportController.currentSpeciality}. Speciality and OT Room are typically different domain concepts. This mismatch could lead to incorrect data handling or user confusion.Consider updating the value binding to use a more semantically appropriate property:
Or verify with the backend team if
currentSpecialityis intentionally being reused for OT Room selection.🤖 Prompt for AI Agents