palantir/blueprint
Auf GitHub ansehen[FormGroup] Using both `inline` and `subLabel` props produce misaligned `subLabel`s
Open
#5.294 geöffnet am 9. Mai 2022
P2Package: coreType: bughelp wanted
Repository-Metriken
- Stars
- (20.263 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 43T 10h) (27 gemergte PRs in 30 T)
Beschreibung
Environment
- Package version(s):
@blueprintjs/core 4.3.0
Steps to reproduce
- Use a
FormGroupwith bothinlineandsubLabelprops.
<FormGroup
inline={true}
label="Label"
labelFor="text-input"
labelInfo="(required)"
subLabel="Label helper text with details..."
>
<InputGroup id="text-input" placeholder="Placeholder text" />
</FormGroup>
Actual behavior
Screenshot from the docs example page:

Expected behavior
The subLabel appears aligned with something, so either:
- The
subLabelappears below thelabel/labelInfo? - The
subLabelappears above the input?