× This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Required in a dependent field

8 år 1 måned siden #1440 af Pedro
Required in a dependent field blev oprettet af Pedro
HI there, if I set a field as required and it's depending on other field, the validation should only be done when the dependency occurs, currently it makes the field required if the dependency doesn't occur.

Venligst Log på eller Opret en konto for at deltage i samtalen

8 år 1 måned siden #1441 af Andres Maeso
Besvaret af Andres Maeso på emne Required in a dependent field
Hi Pedro

The way we see it, it's wrong to make a dependency with a required field. A way to avoid this behavior would be to give a default value to the depending field, something like zero, "non selected", "empty", etc...

Andrés Maeso
Customer relations manager at Joomla Component Creator.

Denne e-mail adresse bliver beskyttet mod spambots. Du skal have JavaScript aktiveret for at vise den.

Venligst Log på eller Opret en konto for at deltage i samtalen

Tid til at oprette siden: 0.053 sekunder
Leveret af Kunena Forum

Vi we benytter cookies, så vi bedst muligt kan levere vores services. For mere information, se vores