You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Mention nested labels in comments
This commit is contained in:
@@ -21,8 +21,8 @@ import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||
interface IProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
outlined?: boolean;
|
||||
// If true (default), the children will be contained within a <label> element
|
||||
// If false, they'll be in a div. Putting interactive components like Fields in labels can
|
||||
// cause strange bugs like https://github.com/vector-im/element-web/issues/18031
|
||||
// If false, they'll be in a div. Putting interactive components that have labels
|
||||
// themselves in labels can cause strange bugs like https://github.com/vector-im/element-web/issues/18031
|
||||
childrenInLabel?: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user