Added trigger on empty value
This commit is contained in:
parent
fe5deb68e7
commit
b627bbbefb
|
|
@ -50,10 +50,8 @@
|
|||
|
||||
if (this.options.triggerCondition.indexOf('value') == 0) {
|
||||
var match = this.options.triggerCondition.match(/[^[\]]+(?=])/g)
|
||||
if (match) {
|
||||
this.triggerConditionValue = match
|
||||
this.triggerCondition = 'value'
|
||||
}
|
||||
this.triggerCondition = 'value'
|
||||
this.triggerConditionValue = (match) ? match : ""
|
||||
}
|
||||
|
||||
if (this.triggerCondition == 'checked' || this.triggerCondition == 'value')
|
||||
|
|
|
|||
Loading…
Reference in New Issue