]> git.mxchange.org Git - addressbook-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 23 Oct 2022 21:13:02 +0000 (23:13 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 23 Oct 2022 21:14:29 +0000 (23:14 +0200)
- I don't know what maximum number is possible, e.g. +352 is Luxembourg which is
  far bigger than intended maximum 99. So let's put it up to 999

lib/juser-core.jar
web/WEB-INF/templates/admin/country/admin_form_country_data.tpl

index e5390f3f2abb787f02195166d7d5fe30fe513cf5..45cf6ed8d92b3024bd5736dc5352193874e1f21b 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index cfe51e9f2e1480dd4715d56bebe60671679599ca..6d6a02fa521e87c10abc8ac305c4a73f83e0c9d6 100644 (file)
                                </div>
 
                                <div class="table-right-medium">
-                                       <p:inputText styleClass="input" id="countryPhoneCode" size="2" maxlength="6" value="#{adminCountryController.countryPhoneCode}" required="true" requiredMessage="#{msg.ADMIN_COUNTRY_PHONE_CODE_REQUIRED}">
-                                               <f:validateLongRange for="countryPhoneCode" minimum="0" maximum="99" />
+                                       <p:inputText id="countryPhoneCode" size="2" maxlength="6" value="#{adminCountryController.countryPhoneCode}" required="true" requiredMessage="#{msg.ADMIN_COUNTRY_PHONE_CODE_REQUIRED}">
+                                               <f:validateLongRange minimum="0" maximum="999" />
                                        </p:inputText>
 
                                        <h:outputText styleClass="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_PHONE_CODE_EXAMPLE}" />