2859 - Force translation for SMS
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f5b95a0c4d
commit
af0307a419
|
@ -83,9 +83,6 @@ export default class Field extends FormInput {
|
||||||
this._required = value;
|
this._required = value;
|
||||||
let required = this.element.querySelector('.required');
|
let required = this.element.querySelector('.required');
|
||||||
display(required, this._required);
|
display(required, this._required);
|
||||||
|
|
||||||
this.$.$applyAsync(() =>
|
|
||||||
this.input.setAttribute('required', value));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get required() {
|
get required() {
|
||||||
|
|
|
@ -165,13 +165,13 @@ class Controller extends Section {
|
||||||
created: this.ticket.updated
|
created: this.ticket.updated
|
||||||
};
|
};
|
||||||
this.showSMSDialog({
|
this.showSMSDialog({
|
||||||
message: this.$params.message || this.$t('Minimum is needed', params)
|
message: this.$t('Minimum is needed', params)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
sendPaymentSms() {
|
sendPaymentSms() {
|
||||||
this.showSMSDialog({
|
this.showSMSDialog({
|
||||||
message: this.$params.message || this.$t('Make a payment')
|
message: this.$t('Make a payment')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue