iview Normalize arguments in :on-change callbacks

tvz2xvvm  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(55)

Normalize the event callback for Input and InputNumber .

Currently

  • Input passes event in callback
  • InputNumber passes value in callback
  • ColorPicker passes value in callback

In the future we should normalize this and both could use (event, value) in the callback

The problem: https://jsfiddle.net/Sergio_fiddle/vbhjea6g/

相关问题