-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Integrate Radio Group #29026
chore: Integrate Radio Group #29026
Conversation
@@ -1,28 +1,19 @@ | |||
import React, { forwardRef } from "react"; | |||
import { Field } from "@design-system/headless"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just changing, reordering imports to satisfy my ODC
@@ -22,7 +22,7 @@ | |||
* DISABLED | |||
*----------------------------------------------------------------------------- | |||
*/ | |||
&[data-disabled] { | |||
&[data-disabled]:not([data-field-type="field-group"] &) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to do it so that we don't apply opacity on field level and inline label again.
@@ -83,16 +83,12 @@ export const propertyPaneContentConfig = [ | |||
validation: { type: ValidationTypes.TEXT }, | |||
}, | |||
{ | |||
helpText: "Sets the label position of the widget", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing and moving this prop to styles
{ label: "Right", value: "right" }, | ||
], | ||
isBindProperty: false, | ||
helpText: "Show help text or details about current input", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding the missing tooltip prop
return ( | ||
<SwitchGroupComponent | ||
defaultSelectedValues={this.props.defaultSelectedValues} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note i deleted the component in these widgets we don't need to create separate components and their types. SwitchGroup, CheckboxGroup and RadioGroup are straight forward components that don't need another encapsulation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @dhruvikn
/build-deploy-preview |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6956436707. |
Deploy-Preview-URL: https://ce-29026.dp.appsmith.com |
return ( | ||
<SwitchGroupComponent | ||
defaultSelectedValues={this.props.defaultSelectedValues} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @dhruvikn
/ok-to-test |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6966297691. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6966297691. |
Fixes #29001