diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-05-05 07:01:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 07:01:28 +0200 |
commit | 6603a9d649bc3319694f35dff021f935681a44ad (patch) | |
tree | 046079e6c76fb365a4e7fb4064d2229fbdf3465b /src/Wallabag/ApiBundle | |
parent | a7c8f5457014f5dd6370323e9aad61d0d08848ee (diff) | |
parent | ab9eb5cdb767510c0c2b9d1b114243741f748f89 (diff) | |
download | wallabag-6603a9d649bc3319694f35dff021f935681a44ad.tar.gz wallabag-6603a9d649bc3319694f35dff021f935681a44ad.tar.zst wallabag-6603a9d649bc3319694f35dff021f935681a44ad.zip |
Merge pull request #3082 from aaa2000/fix-form-errors-display
Fix display the form errors correctly
Diffstat (limited to 'src/Wallabag/ApiBundle')
-rw-r--r-- | src/Wallabag/ApiBundle/Form/Type/ClientType.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Form/Type/ClientType.php b/src/Wallabag/ApiBundle/Form/Type/ClientType.php index 0ea1a9c5..eaea4feb 100644 --- a/src/Wallabag/ApiBundle/Form/Type/ClientType.php +++ b/src/Wallabag/ApiBundle/Form/Type/ClientType.php | |||
@@ -16,7 +16,11 @@ class ClientType extends AbstractType | |||
16 | { | 16 | { |
17 | $builder | 17 | $builder |
18 | ->add('name', TextType::class, ['label' => 'developer.client.form.name_label']) | 18 | ->add('name', TextType::class, ['label' => 'developer.client.form.name_label']) |
19 | ->add('redirect_uris', UrlType::class, ['required' => false, 'label' => 'developer.client.form.redirect_uris_label']) | 19 | ->add('redirect_uris', UrlType::class, [ |
20 | 'required' => false, | ||
21 | 'label' => 'developer.client.form.redirect_uris_label', | ||
22 | 'property_path' => 'redirectUris', | ||
23 | ]) | ||
20 | ->add('save', SubmitType::class, ['label' => 'developer.client.form.save_label']) | 24 | ->add('save', SubmitType::class, ['label' => 'developer.client.form.save_label']) |
21 | ; | 25 | ; |
22 | 26 | ||