diff --git a/front/core/components/field/index.js b/front/core/components/field/index.js index e10ef6383..40ea01e47 100644 --- a/front/core/components/field/index.js +++ b/front/core/components/field/index.js @@ -83,9 +83,6 @@ export default class Field extends FormInput { this._required = value; let required = this.element.querySelector('.required'); display(required, this._required); - - this.$.$applyAsync(() => - this.input.setAttribute('required', value)); } get required() { diff --git a/modules/ticket/front/descriptor-menu/index.js b/modules/ticket/front/descriptor-menu/index.js index 09783ec20..8ea08898f 100644 --- a/modules/ticket/front/descriptor-menu/index.js +++ b/modules/ticket/front/descriptor-menu/index.js @@ -165,13 +165,13 @@ class Controller extends Section { created: this.ticket.updated }; this.showSMSDialog({ - message: this.$params.message || this.$t('Minimum is needed', params) + message: this.$t('Minimum is needed', params) }); } sendPaymentSms() { this.showSMSDialog({ - message: this.$params.message || this.$t('Make a payment') + message: this.$t('Make a payment') }); }