-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding help labels #64
Comments
Hello, This is not yet possible but could be an interesting feature. |
I tried just adding configuration-bundle/Form/Type/ParametersType.php Lines 36 to 43 in e860def
I will open a PR as soon as I can |
This could be done by using options directly in our bundle like this :
Could be interesting to give in baseOptions all the options that are inherited in Symfony form components though. |
Here's the list of options: https://symfony.com/doc/current/reference/forms/types/form.html#field-options And here is the code of the It seems to use an OptionsResolver to handle the options: https://github.com/symfony/symfony/blob/6.3/src/Symfony/Component/OptionsResolver/OptionsResolver.php |
PR has been merged |
If you create a form and you want to add help labels, you'll have to do it manually. It'd be nice to be able to do it in
sherlockode_configuration
, perhaps alongsidelabel
or insideoptions
.If this is already possible, we could just add it to the README
The text was updated successfully, but these errors were encountered: