mercredi 25 mai 2016

How to hide data in source view from drop down list (Ember Javascript)

I am currenty working on building a customer management system.

The website is coded using embers framework.

I have a drop down list with a list of names which relate to their ID - this can be seen in the source view, what is the easiest method/solution to hide this data?

I have included the section of code below, thank you in advance for any guidance or tips.

<html>
<head>
<link rel="stylesheet" href="css/styles.css" />

  <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,700">
  <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Montserrat">
  <link rel="stylesheet" href="http://ift.tt/1NLUTj9">
</head>


   <p class="asset-search__stacked">
        <br>
        <div  class=" group-selector group-selector--condensed">
          <p>
            <label class="form__label">
              Group:
<select  class=" ember-select form__select">
<option  class="" value="*">Please select</option>
<option  class="" value="462">.Test Group</option>
<option  class="" value="334">7.5 Tonne Vehicles</option>
<option  class="" value="277">A &amp; B Lewis</option>
<option  class="" value="2221">A M Lloyd</option>
<option  class="" value="2551">Adrian CVH</option>
<option  class="" value="2719">Adrian Scipps Ltd</option>
<option  class"" value="3314">Lifting Systems Ltd</option>
<option  class="" value="4343">Lloyds Coaches</option>
<option  class="" value="1592">London Master Services Ltd</option>
<option  class="" value="3815">M &amp; P Enterprises Ltd</option>value="2256">W M Rose</option></select>
</label>
            <button type="button" class="button button--icon group-selector__button" disabled="disabled"  >
              <i class="fa fa-chevron-up"></i>
            </button>

</html>




Aucun commentaire:

Enregistrer un commentaire