parent
6b56476f66
commit
7894284409
|
|
@ -247,14 +247,14 @@
|
|||
if ($el.val().length && $el.val() != prefix)
|
||||
return
|
||||
|
||||
$el.val(prefix)
|
||||
$el.val(prefix).trigger('oc.inputPreset.afterUpdate')
|
||||
|
||||
this.$src = $(options.inputPreset, parent),
|
||||
this.$src.on('keyup', function() {
|
||||
if (self.cancelled)
|
||||
return
|
||||
|
||||
$el.val(prefix + self.formatValue())
|
||||
$el.val(prefix + self.formatValue()).trigger('oc.inputPreset.afterUpdate')
|
||||
})
|
||||
|
||||
this.$el.on('change', function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue