Skip to content

Update method doesn't trigger in IE11 #43

Closed
@mikestreety

Description

@mikestreety

Hey,

I'll come back and properly fill out this issue this afternoon, but thought I would just put it here before I forget.

The this.update method doesn't seem to ever get fired in IE11 or below. However the this.process one does.

I have temporarily updated the this.process method to the following (i expanded the if statements while I was debugging) and remove the update method

/**
* Validate value before update the component.
* @param {Number} value
*/
process: function(value) {
	if (value >= this.max) {
		value = this.max;
	}
	if (value <= this.min) {
		value = this.min;
	}
	if (!this.minus && value < 0) {
		value = this.min >= 0 ? this.min: 0;
	}

	this.$emit('input', Number(accounting.toFixed(value, this.precision)));
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions