Open beastmst opened 3 years ago
I have an array as selectOption=[0,1,2,3]
when the selected value is 0, it is not selected...
any idea why? where
pageArray = [0,1,2,3] page = 0,
<PaperSelect @options={{pageArray}} @label="Page" @selected={{page}} @onChange={{action (mut page)}} as |pageNo|> {{pageNo}} </PaperSelect>
Seems that this is the case for any "falsy" value, e.g. the boolean value false also has this effect.
false
I have an array as selectOption=[0,1,2,3]
when the selected value is 0, it is not selected...
any idea why? where
pageArray = [0,1,2,3] page = 0,