用角度md输入容器选择角度

时间:2015-09-14 20:12:02

标签: angularjs angular-material selectize.js

我正在尝试使用md-input-container(https://material.angularjs.org/0.9.4/#/api/material.components.input/directive/mdInputContainer)或选择-ng或ng-selectize。

DateTimeStamp       Value
2015-09-09 03:28:29 100
2015-09-10 03:29:05 58
2015-09-11 03:31:57 62
2015-09-12 03:30:49 69
2015-09-13 03:28:43 97

这是我选择的选择:

 <md-input-container md-theme="hs-green">
   <label class="label" for="brandsInput">Brands</label>
   <!-- <selectize id="brandsInput" name="brandsInput" required config="vm.brandsConfig" data-ng-model="vm.brands"></selectize> -->
   <input type="text" id="brandsInput" name="brandsInput"
                 selectize="vm.brandsConfig" data-ng-model="vm.brands" />

   <div data-ng-messages="signupStepOneForm.vatInput.$error" data-ng-show="signupStepOneForm.vatInput.$dirty">
     <div data-ng-message="required">Campo obbligatorio</div>
     <div data-ng-message="pattern">Partita IVA non valida</div>
   </div>
</md-input-container>

此代码生成用于选择性和单独标签的输入。但是组件并不像普通的md-input-container那样工作。

有人试图这样做吗?

由于

0 个答案:

没有答案