Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in function of distributionGroupsEndpoint query parameter is empty #35

Open
simong78 opened this issue Mar 27, 2018 · 2 comments
Open

Comments

@simong78
Copy link

Hy,

I realized that, when is would use a function like distributionGroupsEndpoint(), that at the end of url the query parameter is empty.
When i use fix source link, the query is computed, the paramteter is on the end of link, but in the solution of :source="distributionGroupsEndpoint" is not.
I tried reading value from the hidden input by name, but failed.

Here is my part of html code in vue template :

<autocomplete
ref="autocomplete"
input-class="form-control"
:source="distributionGroupsEndpoint"
results-property="data"
results-display="name"
name="autocTeszt"
@selected="testSelect">

Here is my part of js code in vue extend:
methods: {
distributionGroupsEndpoint () {
console.log("autocTesztn=");
console.log($("hidden[name="autocTeszt"]").val());

        return "http://www.mysystem.hu/RestService/kodtabla/searcht/DEVIZANEM/" + this.session_id + '/'      
    },        

}

I make something wrong?

Thank You,
simong

@simong78 simong78 changed the title in function of distributionGroupsEndpoint query is empty in function of distributionGroupsEndpoint query parameter is empty Mar 27, 2018
@ikwattro
Copy link

Same for me

@ikwattro
Copy link

Solved it by using a computed value instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants