microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
321 stars 53 forks source link

[Feature/Question]: Disable a Dialog Button #379

Open sperry1625 opened 1 year ago

sperry1625 commented 1 year ago

Is this request for a new component, or additional functionality for an existing component? The question is: Can a Dialog button be disabled? If not, then this is a feature request.

Have you validated that your desired feature or component is not already in the backlog? Yes

Describe the component and functionality you would like to see in the starter kit I have a dialog that I display when a user wants to delete a record. The dialog has 3 buttons. I would like to be able to disable one of the buttons depending on the properties of the record being deleted.

Describe alternatives you've considered Removing the button instead of disabling it. I would prefer consistent buttons on the dialog as opposed to hide/show.

Additional context