Skip to content

Commit

Permalink
revert back to textformfield
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Nov 22, 2024
1 parent 0d8d079 commit 6d08a87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cypress/pageobject/Patient/PatientLogupdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class PatientLogupdate {
}

typeSpo2(spo: string) {
cy.typeAndSelectOption("#ventilator_spo2", spo);
cy.get("#ventilator_spo2").click().type(spo);
}

selectRhythm(rhythm: string) {
Expand Down
11 changes: 5 additions & 6 deletions src/components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ import request from "@/Utils/request/request";
import { formatDateTime } from "@/Utils/utils";
import { scrollTo } from "@/Utils/utils";

import RangeAutocompleteFormField from "../Form/FormFields/RangeAutocompleteFormField";
import TextFormField from "../Form/FormFields/TextFormField";

export const DailyRounds = (props: any) => {
Expand Down Expand Up @@ -704,12 +703,12 @@ export const DailyRounds = (props: any) => {
]}
/>

<RangeAutocompleteFormField
<TextFormField
{...field("ventilator_spo2")}
unit="%"
start={0}
end={100}
step={1}
labelSuffix="%"
type="number"
min={0}
max={100}
thresholds={[
{
value: 0,
Expand Down

0 comments on commit 6d08a87

Please sign in to comment.