When running helper brings values are stored in the variable verCandidatos.postulados.
Once I get me the information I need to get a document that is linked (using the function ng-init="candidato = la postulado.candidato()) wich runs on the helper from file: collection.js.
Sometimes the html shows the properties: {{candidato.nombre}}, {{candidato.apellidos}} and {{candidato.sexo}} correctly, and sometimes appear empty, why?
The information is being obtained, because the ng-repeat works and shows elements.
Is very strange, like a bug or something. How is possible that behavior?
Below is the publishComposite(), collection.js, html and js client
html clientmy-app/imports/ui/components/vacantes/verCandidatos/verCandidatos.html
Nothing comes to mind as to why it wouldn't work. Can't comment further with out seeing a meteor app the demonstrates the issue. If you like, create a github repo with a sample project. Closing for now.
Hello, thanks for read
When running
helper
brings values are stored in the variableverCandidatos.postulados
. Once I get me the information I need to get a document that is linked (using the functionng-init="candidato = la postulado.candidato()
) wich runs on thehelper
from file:collection.js
. Sometimes thehtml
shows the properties:{{candidato.nombre}}
,{{candidato.apellidos}}
and{{candidato.sexo}}
correctly, and sometimes appear empty, why?The information is being obtained, because the
ng-repeat
works and shows elements. Is very strange, like abug
or something. How is possible that behavior?Below is the publishComposite(), collection.js,
html
andjs
clienthtml client my-app/imports/ui/components/vacantes/verCandidatos/verCandidatos.html
js in client my-app/imports/ui\components/vacantes/verCandidatos/verCandidatos.js
collection.js my-app/imports/api/postulaciones/collection.js
publish.js: my-app/imports/api/vacantes/server/publish.js
Any ideas?