Skip to content

PaperSelect with selected=0 #1168

@beastmst

Description

@beastmst

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions