]> git.mxchange.org Git - pizzaservice-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:54 +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 5a0802d076d18f32772557ac1a5f1ad4ba0d7e3c..8c51d7c1c58c2fc81b1e636e30e1dc88a94cdc3f 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}" />