소스 검색

update combo layout

New_Enhancement
Alex Cheung 4 주 전
부모
커밋
e26e45395f
27개의 변경된 파일221개의 추가작업 그리고 47개의 파일을 삭제
  1. +5
    -0
      src/pages/DemandNote/Create/SearchForm.js
  2. +5
    -0
      src/pages/DemandNote/Export/SearchForm.js
  3. +15
    -0
      src/pages/DemandNote/Search/SearchForm.js
  4. +10
    -0
      src/pages/DemandNote/Search_Public/SearchForm.js
  5. +3
    -3
      src/pages/GazetteIssue/ExportForm.js
  6. +3
    -3
      src/pages/GazetteIssue/SearchForm.js
  7. +3
    -3
      src/pages/Holiday/SearchForm.js
  8. +5
    -0
      src/pages/Organization/SearchPage/OrganizationSearchForm.js
  9. +5
    -0
      src/pages/Payment/Search_GLD/SearchForm.js
  10. +5
    -0
      src/pages/Payment/Search_Public/SearchForm.js
  11. +5
    -1
      src/pages/Proof/Create_FromApp/ProofForm.js
  12. +20
    -0
      src/pages/Proof/Search_GLD/SearchForm.js
  13. +10
    -0
      src/pages/Proof/Search_Public/SearchForm.js
  14. +5
    -1
      src/pages/PublicNotice/Details_GLD/StatusChangeDialog.js
  15. +5
    -0
      src/pages/PublicNotice/ListPanel/PendingPaymentTab.js
  16. +5
    -0
      src/pages/PublicNotice/ListPanel/SearchPublicNoticeForm.js
  17. +20
    -0
      src/pages/PublicNotice/Search_GLD/SearchForm.js
  18. +15
    -0
      src/pages/PublicNotice/Search_Mark_As_Paid_GLD/SearchForm.js
  19. +10
    -0
      src/pages/Recon/SearchForm.js
  20. +5
    -0
      src/pages/User/SearchPage_Individual/UserSearchForm_Individual.js
  21. +16
    -6
      src/pages/User/SearchPage_Organization/UserSearchForm_Organization.js
  22. +10
    -5
      src/pages/authentication/auth-forms/BusCustomFormWizard.js
  23. +13
    -6
      src/pages/authentication/auth-forms/CustomFormWizard.js
  24. +12
    -5
      src/pages/authentication/auth-forms/IAmSmartFormWizard.js
  25. +5
    -0
      src/pages/pnspsUserGroupDetailPage/UserAddCard.js
  26. +3
    -7
      src/utils/Combo.js
  27. +3
    -7
      src/utils/SelectBase.js

+ 5
- 0
src/pages/DemandNote/Create/SearchForm.js 파일 보기

@@ -173,6 +173,11 @@ const SearchPublicNoticeForm = ({ applySearch, issueComboData, _paymentCount, _p
setIssueSelected(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Gazette Issue"


+ 5
- 0
src/pages/DemandNote/Export/SearchForm.js 파일 보기

@@ -174,6 +174,11 @@ const SearchPublicNoticeForm = ({ applySearch, issueComboData }) => {
setIssueSelected(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Gazette Issue"


+ 15
- 0
src/pages/DemandNote/Search/SearchForm.js 파일 보기

@@ -211,6 +211,11 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue
onChange={(event, newValue) => {
setIssueSelected(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Gazette Issue No."
@@ -256,6 +261,11 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue
setOrgSelected({});
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Organisation"
@@ -421,6 +431,11 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue
}
}}
getOptionLabel={(option) => option.label}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField
{...params}


+ 10
- 0
src/pages/DemandNote/Search_Public/SearchForm.js 파일 보기

@@ -167,6 +167,11 @@ const SearchDemandNoteForm = ({ applySearch, searchCriteria, issueComboData, onG
setIssueSelected(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label={intl.formatMessage({ id: 'gazetteCount' })}
@@ -274,6 +279,11 @@ const SearchDemandNoteForm = ({ applySearch, searchCriteria, issueComboData, onG
setSelectedStatus(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField
{...params}


+ 3
- 3
src/pages/GazetteIssue/ExportForm.js 파일 보기

@@ -81,9 +81,9 @@ const SearchGazetteIssueForm = ({ applyExport, comboData, waitDownload}) => {
setSelectedYear(newValue);
}}
sx={{
"& .MuiInputBase-root": { height: "41px" },
"#year-combo": { padding: "0px 0px 0px 0px" },
"& .MuiAutocomplete-endAdornment": { top: "auto" },
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} placeholder={""}/>}
/>


+ 3
- 3
src/pages/GazetteIssue/SearchForm.js 파일 보기

@@ -79,9 +79,9 @@ const SearchGazetteIssueForm = ({ applySearch, comboData, onGridReady}) => {
setSelectedYear(newValue);
}}
sx={{
"& .MuiInputBase-root": { height: "41px" },
"#year-combo": { padding: "0px 0px 0px 0px" },
"& .MuiAutocomplete-endAdornment": { top: "auto" },
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} placeholder={""}/>}
/>


+ 3
- 3
src/pages/Holiday/SearchForm.js 파일 보기

@@ -79,9 +79,9 @@ const SearchHolidayForm = ({ applySearch, comboData, onGridReady}) => {
setSelectedYear(newValue);
}}
sx={{
"& .MuiInputBase-root": { height: "41px" },
"#year-combo": { padding: "0px 0px 0px 0px" },
"& .MuiAutocomplete-endAdornment": { top: "auto" },
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} placeholder={""}/>}
/>


+ 5
- 0
src/pages/Organization/SearchPage/OrganizationSearchForm.js 파일 보기

@@ -150,6 +150,11 @@ const OrganizationSearchForm = ({ applySearch, onGridReady, searchCriteria }) =>
}}
getOptionLabel={(option) => option.label}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField
{...params}


+ 5
- 0
src/pages/Payment/Search_GLD/SearchForm.js 파일 보기

@@ -202,6 +202,11 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria, onGridReady }) =>
setStatus(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Status"


+ 5
- 0
src/pages/Payment/Search_Public/SearchForm.js 파일 보기

@@ -200,6 +200,11 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria, onGridReady }) =>
setStatus(ComboData.paymentStatus[0]);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label={intl.formatMessage({id: 'status'})}


+ 5
- 1
src/pages/Proof/Create_FromApp/ProofForm.js 파일 보기

@@ -397,7 +397,10 @@ const FormPanel = ({ formData }) => {

<Autocomplete
sx={{
width: "15%"
width: "15%",
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
disablePortal
id="price"
@@ -409,6 +412,7 @@ const FormPanel = ({ formData }) => {
setColumnPrice(newValue)
formik.values["fee"] = newValue.value * formik.values.length;
}}
renderInput={(params) => (
<TextField {...params}
InputLabelProps={{


+ 20
- 0
src/pages/Proof/Search_GLD/SearchForm.js 파일 보기

@@ -232,6 +232,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
onChange={(event, newValue) => {
setIssueSelected(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Gazette Issue No."
@@ -256,6 +261,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
onChange={(event, newValue) => {
setGroupSelected(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Gazette Group"
@@ -355,6 +365,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
setStatus(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Status"
@@ -387,6 +402,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
setOrgSelected({});
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Organisation"


+ 10
- 0
src/pages/Proof/Search_Public/SearchForm.js 파일 보기

@@ -210,6 +210,11 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria, issueComboData, o
onChange={(event, newValue) => {
setIssueSelected(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label={intl.formatMessage({id: 'gazetteCount'})}
@@ -335,6 +340,11 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria, issueComboData, o
setStatus(ComboData.proofStatus[0]);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label={intl.formatMessage({id: 'status'})}


+ 5
- 1
src/pages/PublicNotice/Details_GLD/StatusChangeDialog.js 파일 보기

@@ -160,7 +160,11 @@ const StatusChangeDialog = (props) => {
props.setSelectedGazetteGroupInputType("");
}
}}
// sx={{"& .MuiInputBase-root": { height: "41px" },"#idDocType":{padding: "0px 0px 0px 0px"}, "& .MuiAutocomplete-endAdornment": { top: "auto" },}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} placeholder="" />}
/>
</Grid>


+ 5
- 0
src/pages/PublicNotice/ListPanel/PendingPaymentTab.js 파일 보기

@@ -393,6 +393,11 @@ export default function SubmittedTab({ setCount, url }) {
// console.log(newValue)
setSelectedCareOf(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} />}
/>
</Grid>


+ 5
- 0
src/pages/PublicNotice/ListPanel/SearchPublicNoticeForm.js 파일 보기

@@ -242,6 +242,11 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria, onGridReady }) =>
setStatus(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label={intl.formatMessage({id: 'status'})}


+ 20
- 0
src/pages/PublicNotice/Search_GLD/SearchForm.js 파일 보기

@@ -272,6 +272,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
}
}}
getOptionLabel={(option) => option.label}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField
{...params}
@@ -337,6 +342,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
setOrgSelected({});
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Organisation"
@@ -371,6 +381,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
onChange={(event, newValue) => {
setIssueSelected(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Gazette Issue No."
@@ -395,6 +410,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
onChange={(event, newValue) => {
setGroupSelected(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Gazette Group"


+ 15
- 0
src/pages/PublicNotice/Search_Mark_As_Paid_GLD/SearchForm.js 파일 보기

@@ -267,6 +267,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
}
}}
getOptionLabel={(option) => option.label}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField
{...params}
@@ -333,6 +338,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
setOrgSelected({});
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Organisation"
@@ -367,6 +377,11 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss
onChange={(event, newValue) => {
setIssueSelected(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Gazette Issue No."


+ 10
- 0
src/pages/Recon/SearchForm.js 파일 보기

@@ -192,6 +192,11 @@ const SearchPublicNoticeForm = ({ applySearch, generateReport, onLoad }) => {
setMethod(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Payment Method"
@@ -219,6 +224,11 @@ const SearchPublicNoticeForm = ({ applySearch, generateReport, onLoad }) => {
setStatus(newValue);
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Payment Status"


+ 5
- 0
src/pages/User/SearchPage_Individual/UserSearchForm_Individual.js 파일 보기

@@ -146,6 +146,11 @@ const UserSearchForm_Individual = ({ applySearch, onGridReady, searchCriteria })
setAccountFilter("All");
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Status"


+ 16
- 6
src/pages/User/SearchPage_Organization/UserSearchForm_Organization.js 파일 보기

@@ -119,6 +119,11 @@ const UserSearchForm_Organization = ({applySearch, orgComboData, onGridReady, se
setOrgSelected({});
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Organisation"
@@ -214,12 +219,17 @@ const UserSearchForm_Organization = ({applySearch, orgComboData, onGridReady, se
options={["All", "Active","Locked","Not Verified"]}
value={accountFilter}
onChange={(event, newValue) => {
if (newValue !== null){
setAccountFilter(newValue);
}else{
setAccountFilter("All");
}
}}
if (newValue !== null){
setAccountFilter(newValue);
}else{
setAccountFilter("All");
}
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => (
<TextField {...params}
label="Status"


+ 10
- 5
src/pages/authentication/auth-forms/BusCustomFormWizard.js 파일 보기

@@ -1035,9 +1035,11 @@ const BusCustomFormWizard = (props) => {
onChange={(event, newValue) => {
setSelectedAddress4(newValue);
}}
sx={{ "& .MuiInputBase-root": { height: "41px" },
"#address4-combo": { padding: "0px 0px 0px 3px" },
"& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField error={checkDistrict} {...params} placeholder={intl.formatMessage({id: 'region'})}
/>}
/>
@@ -1083,8 +1085,11 @@ const BusCustomFormWizard = (props) => {
setCheckCountry(true)
}
}}

sx={{ "& .MuiInputBase-root": { height: "41px" }, "#address5-combo": { padding: "0px 0px 0px 3px" }, "& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} placeholder={intl.formatMessage({id: 'regionOrCountry'})} />}
/>
{formik.touched.address1 && formik.errors.address1 && (


+ 13
- 6
src/pages/authentication/auth-forms/CustomFormWizard.js 파일 보기

@@ -1101,7 +1101,11 @@ const CustomFormWizard = (props) => {
setSelectedIdDocType({});
}
}}
sx={{ "#address4-combo": { padding: "0px 0px 0px 0px" }, "& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField
{...params}
error={formik.touched.idDocType && (selectedIdDocType === null || selectedIdDocType?.type == null)}
@@ -1402,9 +1406,9 @@ const CustomFormWizard = (props) => {
setSelectedAddress4(newValue);
}}
sx={{
"& .MuiInputBase-root": { height: "41px" },
"#address4-combo": { padding: "0px 0px 0px 3px" },
"& .MuiAutocomplete-endAdornment": { top: "auto" },
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField error={checkDistrict} {...params} placeholder={intl.formatMessage({ id: 'region' })}
/>}
@@ -1452,8 +1456,11 @@ const CustomFormWizard = (props) => {
setCheckCountry(true)
}
}}

sx={{ "& .MuiInputBase-root": { height: "41px" }, "#address5-combo": { padding: "0px 0px 0px 3px" }, "& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} placeholder={intl.formatMessage({ id: 'regionOrCountry' })} />}
/>
{formik.touched.address1 && formik.errors.address1 && (


+ 12
- 5
src/pages/authentication/auth-forms/IAmSmartFormWizard.js 파일 보기

@@ -615,8 +615,12 @@ const CustomFormWizard = (props) => {
onChange={(event, newValue) => {
setSelectedAddress4(newValue);
}}
sx={{ "& .MuiInputBase-root": { height: "41px" }, "#address4-combo": { padding: "0px 0px 0px 0px" }, "& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
renderInput={(params) => <TextField error={checkDistrict} {...params} placeholder={intl.formatMessage({ id: 'region' })}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField error={checkDistrict} {...params} placeholder={intl.formatMessage({ id: 'region' })}
/>}
/>
<Autocomplete
@@ -640,9 +644,12 @@ const CustomFormWizard = (props) => {
setCheckCountry(true)
}
}}
sx={{ "& .MuiInputBase-root": { height: "41px" }, "#address5-combo": { padding: "0px 0px 0px 0px" }, "& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
renderInput={(params) => <TextField {...params} placeholder={intl.formatMessage({ id: 'regionOrCountry' })} />}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} placeholder={intl.formatMessage({ id: 'regionOrCountry' })} />}
/>
{formik.touched.address1 && formik.errors.address1 && (
<FormHelperText error id="helper-text-address1-signup">


+ 5
- 0
src/pages/pnspsUserGroupDetailPage/UserAddCard.js 파일 보기

@@ -128,6 +128,11 @@ const UserAddCard = ({ isCollectData, updateGroupMember, userGroupData, isNewRec
// console.log(newValue)
setSelectedUser(newValue);
}}
sx={{
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 }
}}
renderInput={(params) => <TextField {...params} />}
/>
</Grid>


+ 3
- 7
src/utils/Combo.js 파일 보기

@@ -41,13 +41,9 @@ export default function Combo ({valueName, disabled, form, dataList, filterOptio
}
}}
sx={{
"& .MuiInputBase-root": {
height: "41px",
padding: "0px 0px 0px 8px"
},
"& .MuiAutocomplete-endAdornment": {
top: "auto"
},
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 },
"& .MuiInputBase-input.Mui-disabled": {
WebkitTextFillColor: "#000000",
background: "#f8f8f8",


+ 3
- 7
src/utils/SelectBase.js 파일 보기

@@ -40,13 +40,9 @@ export default function Combo ({valueName, disabled, form, dataList, filterOptio
}
}}
sx={{
"& .MuiInputBase-root": {
height: "41px",
padding: "0px 0px 0px 8px"
},
"& .MuiAutocomplete-endAdornment": {
top: "auto"
},
'& .MuiInputBase-root': { alignItems: 'center' },
'& .MuiAutocomplete-endAdornment': { top: '50%', transform: 'translateY(-50%)' },
'& .MuiOutlinedInput-root': { height: 40 },
"& .MuiInputBase-input.Mui-disabled": {
WebkitTextFillColor: "#000000",
background: "#f8f8f8",


불러오는 중...
취소
저장