administrate
administrate copied to clipboard
fix(form): Display hint for has_one nested fields
Hi, thank you for maintaining this useful gem.
What I'm having trouble with
In my use case, certain fields are used only as nested fields. However, the field_hints feature in administrate does not work for nested fields, making it impossible to add hints for these fields. This limitation impacts usability, as users cannot see helpful hints for nested fields to understand their purpose or usage.
What I changed in this PR
Extend the functionality of field_hints to work with nested fields as well. With this change, hints can be displayed for nested fields, improving the consistency and usability of the UI.
en:
administrate:
field_hints:
product_meta_tag:
meta_title: Input meta title here
Output sample
Thank you for reviewing this pull request.