oi.select icon indicating copy to clipboard operation
oi.select copied to clipboard

Selecting falsey values does not display label

Open michalgm opened this issue 8 years ago • 0 comments

If you have an option value that evaluates to something falsey (i.e. 0, false, or null), then selecting that value will change the model, but the displayed value is blank. Here is a plunk with an example http://plnkr.co/edit/lcw2qeTlIwa9oJmM9Irx

Here is the same plunk with a fix applied: http://plnkr.co/edit/73gDJqXmUdU83G8dOxaM

michalgm avatar Jul 12 '16 23:07 michalgm