Skip to content

Commit

Permalink
[ES-1908] [ES-1909] minor UI fixes for pre and postfix.
Browse files Browse the repository at this point in the history
Signed-off-by: GurukiranP <[email protected]>
  • Loading branch information
gk-4VII committed Dec 6, 2024
1 parent 58ca60f commit c79fa6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ mosip.esignet.ui.config.username.prefix=
mosip.esignet.ui.config.username.postfix=
mosip.esignet.ui.config.username.max-length=12
mosip.esignet.ui.config.username.input-type=text
mosip.esignet.ui.config.login-id.options={{ 'id': 'mobile', 'svg': 'mobile_icon', 'prefixes': {{'label': 'IND', 'value': '+91', 'maxLength': "", 'regex': ""}, {'label': 'KHM', 'value': '+855', 'regex': '^[a-zA-Z]+$'}, {'label': 'USA', 'value': '+1', 'maxLength': '5'}}, 'postfix': '@phone', 'maxLength': 10, 'regex': '^\\d*$' }, { 'id': 'nrc', 'svg': 'nrc_id_icon', 'prefixes': 'nrc', 'postfix': '@NRC', 'maxLength': 5, 'regex': "" }, { 'id': 'vid', 'svg': 'vid_icon', 'prefixes': "", 'postfix': '@ID', 'maxLength': '7', 'regex': '^[a-zA-Z]+$' }, { 'id': 'email', 'svg': 'email_icon', 'prefixes': "", 'postfix': "", 'maxLength': "", 'regex': '^\\d*$' }}
mosip.esignet.ui.config.login-id.options={{ 'id': 'mobile', 'svg': 'mobile_icon', 'prefixes': {{'label': 'IND', 'value': '+91', 'maxLength': "", 'regex': ""}, {'label': 'KHM', 'value': '+855', 'regex': '^\\d*$'}, {'label': 'USA', 'value': '+1', 'maxLength': '5'}}, 'postfix': '', 'maxLength': 9, 'regex': '^[a-zA-Z]+$' }, { 'id': 'nrc', 'svg': 'nrc_id_icon', 'prefixes': 'nrc', 'postfix': '@NRC', 'maxLength': 5, 'regex': "" }, { 'id': 'vid', 'svg': 'vid_icon', 'prefixes': "", 'postfix': '@ID', 'maxLength': '7', 'regex': '^[a-zA-Z]+$' }, { 'id': 'email', 'svg': 'email_icon', 'prefixes': "", 'postfix': "", 'maxLength': "", 'regex': '^\\d*$' }}

mosip.esignet.ui.config.key-values={'sbi.env': '${mosip.esignet.authenticator.ida-env:Developer}', 'sbi.timeout.DISC': 30, \
'sbi.timeout.DINFO': 30, 'sbi.timeout.CAPTURE': 30, 'sbi.capture.count.face': 1, 'sbi.capture.count.finger': 1, \
Expand Down
4 changes: 2 additions & 2 deletions oidc-ui/src/components/InputWithPrefix.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const InputWithPrefix = (props) => {
countries.find(
(country) =>
country.alpha3 === selectedCountry.label
).alpha2
)?.alpha2
}
alt={selectedCountry.label}
svg
Expand Down Expand Up @@ -221,7 +221,7 @@ const InputWithPrefix = (props) => {
countryCode={
countries.find(
(country) => country.alpha3 === option.label
).alpha2
)?.alpha2
}
svg
style={countryFlagStyles}
Expand Down

0 comments on commit c79fa6b

Please sign in to comment.