Refreshing contents of a semantic-ui dropdown from remote serverjQuery Get Selected Option From DropdownHow can I tell an angularjs dropdown to refresh?Semantic UI doesn't replace the value in a GET route when loading dropdown options remotelyWhy do we need middleware for async flow in Redux?semantic-ui dropdown with remote selection menu content: 'clear' and 'set exactly' remove placeholderSemantic UI dropdown user addition only allow email addressangular 2 ngx-modal - how to update variable on reOpenASP.net updatepanel: Prevent semantic-ui modal from closing on postbackHow to turn off cache for Kendo dropdown list

Why not use SQL instead of GraphQL?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

Watching something be written to a file live with tail

Why, historically, did Gödel think CH was false?

Why don't electron-positron collisions release infinite energy?

Test whether all array elements are factors of a number

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

Test if tikzmark exists on same page

Is it possible to do 50 km distance without any previous training?

Adding span tags within wp_list_pages list items

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

Fencing style for blades that can attack from a distance

To string or not to string

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

Risk of getting Chronic Wasting Disease (CWD) in the United States?

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Why do I get two different answers for this counting problem?

Can a Warlock become Neutral Good?

Voyeurism but not really

Languages that we cannot (dis)prove to be Context-Free

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

How does strength of boric acid solution increase in presence of salicylic acid?

What's the point of deactivating Num Lock on login screens?



Refreshing contents of a semantic-ui dropdown from remote server


jQuery Get Selected Option From DropdownHow can I tell an angularjs dropdown to refresh?Semantic UI doesn't replace the value in a GET route when loading dropdown options remotelyWhy do we need middleware for async flow in Redux?semantic-ui dropdown with remote selection menu content: 'clear' and 'set exactly' remove placeholderSemantic UI dropdown user addition only allow email addressangular 2 ngx-modal - how to update variable on reOpenASP.net updatepanel: Prevent semantic-ui modal from closing on postbackHow to turn off cache for Kendo dropdown list






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















My semantic-ui dropdown box doesn't refresh its contents from the remote server unless I close the tab and revisit the site. A simple page refresh doesn't work to show new values in the dropdown, and ideally I wouldn't even need to do that.



Form Script



$('#create-button')
.click(function ()
$('#issue-type')
.dropdown(
clearable: true,
apiSettings:
url: '/api/tasktypes'

);
$('#issue-modal').modal('show');
);


With this, I would have thought that every time the Create button is pressed it would have made the api call. However, that doesn't seem to be the case.



I did try adding cache: false and saveRemoteData: false per the semantic documentation, but I didn't notice a difference. I felt that part was a little vague though, so I could have been doing it wrong.



What am I not understanding about these calls, or what am I missing?



To be clear, I am seeing values from my remote server. It's just if I add a value I don't see that in the dropdown until I kill the tab and reopen it.










share|improve this question




























    1















    My semantic-ui dropdown box doesn't refresh its contents from the remote server unless I close the tab and revisit the site. A simple page refresh doesn't work to show new values in the dropdown, and ideally I wouldn't even need to do that.



    Form Script



    $('#create-button')
    .click(function ()
    $('#issue-type')
    .dropdown(
    clearable: true,
    apiSettings:
    url: '/api/tasktypes'

    );
    $('#issue-modal').modal('show');
    );


    With this, I would have thought that every time the Create button is pressed it would have made the api call. However, that doesn't seem to be the case.



    I did try adding cache: false and saveRemoteData: false per the semantic documentation, but I didn't notice a difference. I felt that part was a little vague though, so I could have been doing it wrong.



    What am I not understanding about these calls, or what am I missing?



    To be clear, I am seeing values from my remote server. It's just if I add a value I don't see that in the dropdown until I kill the tab and reopen it.










    share|improve this question
























      1












      1








      1








      My semantic-ui dropdown box doesn't refresh its contents from the remote server unless I close the tab and revisit the site. A simple page refresh doesn't work to show new values in the dropdown, and ideally I wouldn't even need to do that.



      Form Script



      $('#create-button')
      .click(function ()
      $('#issue-type')
      .dropdown(
      clearable: true,
      apiSettings:
      url: '/api/tasktypes'

      );
      $('#issue-modal').modal('show');
      );


      With this, I would have thought that every time the Create button is pressed it would have made the api call. However, that doesn't seem to be the case.



      I did try adding cache: false and saveRemoteData: false per the semantic documentation, but I didn't notice a difference. I felt that part was a little vague though, so I could have been doing it wrong.



      What am I not understanding about these calls, or what am I missing?



      To be clear, I am seeing values from my remote server. It's just if I add a value I don't see that in the dropdown until I kill the tab and reopen it.










      share|improve this question














      My semantic-ui dropdown box doesn't refresh its contents from the remote server unless I close the tab and revisit the site. A simple page refresh doesn't work to show new values in the dropdown, and ideally I wouldn't even need to do that.



      Form Script



      $('#create-button')
      .click(function ()
      $('#issue-type')
      .dropdown(
      clearable: true,
      apiSettings:
      url: '/api/tasktypes'

      );
      $('#issue-modal').modal('show');
      );


      With this, I would have thought that every time the Create button is pressed it would have made the api call. However, that doesn't seem to be the case.



      I did try adding cache: false and saveRemoteData: false per the semantic documentation, but I didn't notice a difference. I felt that part was a little vague though, so I could have been doing it wrong.



      What am I not understanding about these calls, or what am I missing?



      To be clear, I am seeing values from my remote server. It's just if I add a value I don't see that in the dropdown until I kill the tab and reopen it.







      javascript mongoose semantic-ui






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 8 at 3:58









      StradigosStradigos

      412721




      412721






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55056509%2frefreshing-contents-of-a-semantic-ui-dropdown-from-remote-server%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55056509%2frefreshing-contents-of-a-semantic-ui-dropdown-from-remote-server%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

          Алба-Юлія

          Захаров Федір Захарович