mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
Merge branch 'fix'
This commit is contained in:
@@ -298,17 +298,11 @@ class IntFieldView extends BaseFieldView {
|
||||
* @return {number|null}
|
||||
*/
|
||||
getMinValue() {
|
||||
let minValue = this.model.getFieldParam(this.name, 'min') ?? null;
|
||||
|
||||
if (minValue != null) {
|
||||
minValue = null;
|
||||
}
|
||||
|
||||
if ('min' in this.params) {
|
||||
minValue = this.params.min;
|
||||
return this.params.min;
|
||||
}
|
||||
|
||||
return minValue;
|
||||
|
||||
return this.model.getFieldParam(this.name, 'min') ?? null;
|
||||
}
|
||||
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
|
||||
Reference in New Issue
Block a user