Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Required field for multiselect


#1

Hi,

i have a small issue where i cant get rid of mandatory red marker on push page in testrail. I have configured it not to be as mandatory but it still shows red marker.

If i wont fill it it allows me to push the defect which is correct but confusing for testers…

Same goes for standard components configuration if configured components with multi-select i had the same problem.

[push.field.customfield_11800]
label=Cabinets type
size=compact
type=multiselect
required=no <— should state it is not required but on the push page it shows it is.

This is i tried with component but had the same result.

[push.field.component]
label=component
size=compact
type=multiselect
required=no <— should state it is not required but on the push page it shows it is.

If i change the type of field from list to multi it shows red marker again and visa versa…

Regards,
Viljam


#2

Hi Viljam,

Thanks for your posting! Non-mandatory is the default so you can also remove the required line from your configuration. You would also need to use false instead of no to disable the required status (so, required=false).

I hope this helps!

Regards,
Tobias


#3

Hi Tobias,

yes issue solved - Thanks :smile:
Viljam


#4

Great :smile:

Regards,
Tobias