Rename helper text to description and support position
Option to show helper text below label instead of below field.
https://github.com/filamentphp/filament/discussions/4333#discussioncomment-6419262 https://github.com/filamentphp/filament/pull/7258
Form fields:
hint()->textAsideLabel()/textBelowLabel()for inline layoutshintActions()->actionsAsideLabel()/actionsBelowLabel()for inline layoutshintColor()->textAsideLabelColor()/textBelowLabelColor()for inline layoutshintIcon()->iconAsideLabel()/iconBelowLabel()for inline layoutshintIconTooltip()->iconAsideLabelTooltip()/iconBelowLabelTooltip()for inline layoutshelperText()->textBelowField()
Infolist entries:
hint()->textAsideLabel()/textBelowLabel()for inline layoutshintActions()->actionsAsideLabel()/actionsBelowLabel()for inline layoutshintColor()->textAsideLabelColor()/textBelowLabelColor()for inline layoutshintIcon()->iconAsideLabel()/iconBelowLabel()for inline layoutshintIconTooltip()->iconAsideLabelTooltip()/iconBelowLabelTooltip()for inline layoutshelperText()->textBelowContent()
Gonna push this to v4, otherwise it could result in quite a lot of internal tech debt if implemented in a BC way. Especially to do with custom form fields / infolist entries.
In my opinion, helper text can just be renamed to description with an option for position like below field and above field.
Or am I missing something?
any update?
It would be cool to have an extra option to show text below the label, but I personally don't see the reason to rename these methods (helperText -> description would be the only one I could understand). These methods are used in basically every Filament app and everyone is now used to helperText and hint. Even if you keep the old methods supported by aliasing them to the new method, every single Filament project in existence would now suddenly have a code chore to remove these deprecations.
Are there any pull requests to resolve this issue?
I don't think, I just saw this on roadmap for "at some point".