Skip to content

Commit

Permalink
Merge pull request #40 from openimis/feature/OP-1725
Browse files Browse the repository at this point in the history
OP-1725: remove null/empty options from dropdowns
  • Loading branch information
jdolkowski authored Jan 15, 2024
2 parents fe05826 + c96a297 commit 0387ebc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/Uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const Uploader = ({
}
required
constants={acceptableFormats}
withNull
withNull={false}
/>
<Grid item>
<Button
Expand Down Expand Up @@ -105,7 +105,7 @@ const Uploader = ({
}
required
constants={strategies}
withNull
withNull={false}
/>
</Grid>
<Grid item>
Expand Down
14 changes: 7 additions & 7 deletions src/pages/RegistersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ const RegistersPage = () => {
}
required
constants={DIAGNOSES_STRATEGIES}
withNull
withNull={false}
/>
</Grid>
<Grid item>
Expand Down Expand Up @@ -492,7 +492,7 @@ const RegistersPage = () => {
}
required
constants={LOCATIONS_STRATEGIES}
withNull
withNull={false}
/>
</Grid>
<Grid item>
Expand Down Expand Up @@ -626,7 +626,7 @@ const RegistersPage = () => {
}
required
constants={HEALTH_FACILITIES_STRATEGIES}
withNull
withNull={false}
/>
</Grid>
<Grid item>
Expand Down Expand Up @@ -746,7 +746,7 @@ const RegistersPage = () => {
}
required
constants={EXPORT_TYPES}
withNull
withNull={false}
/>
<Grid item>
<Button
Expand Down Expand Up @@ -803,7 +803,7 @@ const RegistersPage = () => {
}
required
constants={MEDICAL_ITEMS_STRATEGIES}
withNull
withNull={false}
/>
</Grid>
<Grid item>
Expand Down Expand Up @@ -896,7 +896,7 @@ const RegistersPage = () => {
}
required
constants={EXPORT_TYPES}
withNull
withNull={false}
/>
<Grid item>
<Button
Expand Down Expand Up @@ -957,7 +957,7 @@ const RegistersPage = () => {
}
required
constants={MEDICAL_SERVICES_STRATEGIES}
withNull
withNull={false}
/>
</Grid>
<Grid item>
Expand Down

0 comments on commit 0387ebc

Please sign in to comment.