mirror of https://github.com/vector-im/riot-web
Mention nested labels in comments
parent
f9b45677d6
commit
45fb0e927f
|
@ -21,8 +21,8 @@ import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||||
interface IProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
interface IProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||||
outlined?: boolean;
|
outlined?: boolean;
|
||||||
// If true (default), the children will be contained within a <label> element
|
// 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
|
// If false, they'll be in a div. Putting interactive components that have labels
|
||||||
// cause strange bugs like https://github.com/vector-im/element-web/issues/18031
|
// themselves in labels can cause strange bugs like https://github.com/vector-im/element-web/issues/18031
|
||||||
childrenInLabel?: boolean;
|
childrenInLabel?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue