K
K
KOPC18862014-12-08 17:18:44
Angular
KOPC1886, 2014-12-08 17:18:44

How to make two angucomplete-alt autocomplete required form fields?

Hello!
How to make two angucomplete-alt autocomplete required form fields?
If one autocomplete is in the form, then it works fine. And if I do two through field-required="true", then when you enter something into one of the two, the second autocomplete ceases to be mandatory.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
_
_ _, 2014-12-08
@AMar4enko

The component code is very strange. Try setting the fieldRequiredClass attribute to be different for each of the elements. It looks like it uses it as the name of the element in the form. And yes, take another component.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question