Because contextual filter argument is a text field with a limited value of 128 as maxlength so one can pass max 3-4 fields as arguments. So changing field to textarea is working good and can pass any number of arguments.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sumitmadan created an issue. See original summary.

sumitmadan’s picture

vyasamit2007’s picture

Status: Needs review » Reviewed & tested by the community

Works as expected. I'll leave it to module maintainer if it fits in the context of the module.

jibran’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/src/Plugin/views/field/View.php
@@ -190,7 +190,7 @@ class View extends FieldPluginBase {
-        '#type' => 'textfield',
+        '#type' => 'textarea',

This means we have to remove the extra white spaces in submit. I'd rather increase the character limit.

sumitmadan’s picture

Hi @jibran,

there can be N number of argument. How we will handle that case then?

jibran’s picture

Assigned: Unassigned » damiankloip

@damianklip what do you think?

reszli’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
666 bytes

here's a patch to increase the maxlength of the textfield - worked for me

joel_osc’s picture

I like the patch in #7... works great, thx!

ConradFlashback’s picture

Please commit this.