aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-05-05 07:01:28 +0200
committerGitHub <noreply@github.com>2017-05-05 07:01:28 +0200
commit6603a9d649bc3319694f35dff021f935681a44ad (patch)
tree046079e6c76fb365a4e7fb4064d2229fbdf3465b /src/Wallabag/ApiBundle
parenta7c8f5457014f5dd6370323e9aad61d0d08848ee (diff)
parentab9eb5cdb767510c0c2b9d1b114243741f748f89 (diff)
downloadwallabag-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.php6
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