diff options
| author | Ali Rahimi <alirahimi818@gmail.com> | 2024-01-23 22:46:33 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-23 22:46:33 +0300 |
| commit | c1422be269bcfe4e5fcdd2095224ac55e50e2d8c (patch) | |
| tree | 021cc31bb632acd370ce6b3da96e784640418aab /web/html/xui/form | |
| parent | 538fc9b3656afe260af74a71828e15aa069e1434 (diff) | |
persian datepicker bug fixed (#1668)
* add single client bug fixed
* persian datepicker bug fixed
Diffstat (limited to 'web/html/xui/form')
| -rw-r--r-- | web/html/xui/form/client.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/inbound.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 434a806e..526bbb8b 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -164,7 +164,7 @@ </template> <a-date-picker v-if="datepicker == 'gregorian'" :show-time="{ format: 'HH:mm:ss' }" format="YYYY-MM-DD HH:mm:ss" :dropdown-class-name="themeSwitcher.currentTheme" v-model="client._expiryTime"></a-date-picker> - <persian-datepicker v-else :dropdown-class-name="themeSwitcher.currentTheme" + <persian-datepicker v-else placeholder='{{ i18n "pages.settings.datepickerPlaceholder" }}' value="client._expiryTime" v-model="client._expiryTime"></persian-datepicker> <a-tag color="red" v-if="isEdit && isExpiry">Expired</a-tag> </a-form-item> diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html index 92ba6e75..048fc818 100644 --- a/web/html/xui/form/inbound.html +++ b/web/html/xui/form/inbound.html @@ -57,8 +57,8 @@ <a-date-picker v-if="datepicker == 'gregorian'" :show-time="{ format: 'HH:mm:ss' }" format="YYYY-MM-DD HH:mm:ss" :dropdown-class-name="themeSwitcher.currentTheme" v-model="dbInbound._expiryTime"></a-date-picker> - <persian-datepicker v-else :dropdown-class-name="themeSwitcher.currentTheme" - value="dbInbound._expiryTime" v-model="dbInbound._expiryTime"></persian-datepicker> + <persian-datepicker v-else placeholder='{{ i18n "pages.settings.datepickerPlaceholder" }}' + value="dbInbound._expiryTime" v-model="dbInbound._expiryTime"></persian-datepicker> </a-form-item> </a-form> |
