Skip to content
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

add disabled to Fieldset #306

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@

### Added

- Added `disabled` prop to `Fieldset` component #306
- New components
- MonthPickerInput
- YearPickerInput
- `barProps` and `withValueLabels` for the BarCharts #300
- Added `barProps` and `withValueLabels` for the BarCharts #300


# 0.14.4

Expand Down
2 changes: 2 additions & 0 deletions src/ts/components/core/Fieldset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { StylesApiProps } from "props/styles";
import React from "react";

interface Props extends BoxProps, StylesApiProps, DashBaseProps {
/** disables all inputs and buttons inside the fieldset:*/
disabled?: boolean;
/** Fieldset legend */
legend?: React.ReactNode;
/** Key of `theme.radius` or any valid CSS value to set `border-radius`, `theme.defaultRadius` by default */
Expand Down