Create an AngularJS directive no allow [login to view URL] to work with ng-require

Completado Publicado Mar 21, 2015 Pagado a la entrega
Completado

I'm using [url removed, login to view] for validation with a very simple directive (attached).

This works fine but I have one problem , which is that it ignores ng-require. It works with "require" instead but require is impossible to include dynamically (it seems). I'm using iteration to build forms from db table descriptors, so whether a field is required is provided by an ajax call to get the field descriptions – thus I need the "required" attribute to be set dynamically during iteration.

In other words if the ng-required attribute returns true, then the required attribute must be set (and picked up by parsley for validation), otherwise not.

AngularJS JavaScript jQuery / Prototype

Nº del proyecto: #7345648

Sobre el proyecto

4 propuestas Proyecto remoto Activo Mar 21, 2015

Adjudicado a:

rameshmahala

Hello there, require is possible to include dynamically (done) we can do this by adding another custom directive which will set required attribute dynamically. I have prepared a demo for same. Thanks, Ramesh

$22 USD / hora
(10 comentarios)
3.2

4 freelancers están ofertando un promedio de $20 / hora por este trabajo

ssletscode

I have once created some form using iterations where complex validations were applied on the fly. I can create a directive which will serve your purpose and work on the fly

$22 USD / hora
(0 comentarios)
0.0
dpbhatt02

A proposal has not yet been provided

$22 USD / hora
(0 comentarios)
0.0