Skip to main content
nicholasf4944
Participating Frequently
Jul 23, 2024 5:28 PM UTC
Question

Validation not working for Multiple Dropdown component

Hello, 

I am having trouble getting validations to show up using a multiple dropdown component.

When I pass in "Show Validation" for validations, nothing is shown on the component.

When I do this for a dropdown component, it works as expected: My message is displayed with red text underneath the component.

How can I show validations underneath the multiple dropdown component?

Thank you, 
Nicholas

    4 replies

    konduruc733182
    Inspiring
    Jul 23, 2024 6:07 PM UTC

    Most of the time validations work when the value is evaluated and this happens only when the value is not null. Here have you defined the value/saveinto params of the component? if not please define those and retry.

    nicholasf4944
    Participating Frequently
    Jul 23, 2024 6:13 PM UTC

    Interesting, when I enter a value it does display the validation message. 

    Is there any documentation explaining this behavior or why it does not require a value for the single dropdown?

    Thank you!

    konduruc733182
    Inspiring
    Jul 23, 2024 6:20 PM UTC

    Its basically mentioned in all places that validations work when the value is not null.


    "Validation errors to display below the field when the value is not null." - Drop down component and it is same in all validation parameters of all applicable components.