sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

PropertyPaneChoiceGroup does not allow selecting of choices

Open SteveCurran opened this issue 10 years ago • 4 comments

I am using the PropertyPaneChoicGroup but when I click on a choice nothing happens.

image

SteveCurran avatar Aug 30 '16 03:08 SteveCurran

Tracked as VSO #242872

manishgarg1 avatar Aug 30 '16 17:08 manishgarg1

Hey Steve,

Are you still seeing this issue? I am unable to reproduce it on my end. If you still see it, can you please the code you are using to generate it?

Thanks!

srideshpande avatar Oct 06 '16 18:10 srideshpande

Still seeing the problem in drop 4. Here is the code.

protected get propertyPaneSettings(): IPropertyPaneSettings {
    let props:IPropertyPaneChoiceGroupProps = {options:null};
    props.label = "choices";
    props.options = [{key:'hello',text:'hello'},{key:'goodbye',text:'goodbye'}]
    return {
      pages: [
        {
          header: {
            description: "View Options"
          },
          groups: [
            {
              groupFields: [
                PropertyPaneToggle('preview', {label: "Preview"})
              ]
            }
          ]
        },
        {
          header: {
            description: "Display Properties"
          },
          groups: [
            {
              groupFields: [
                PropertyPaneChoiceGroup('groupprop',props)
              ]
            }
          ]
        }
      ]
    };
  }

SteveCurran avatar Oct 10 '16 03:10 SteveCurran

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 30 '20 12:01 msft-github-bot