#10868·material

virtual-repeat: does not show with md-options

Author: mohamednizarCreated Aug 23, 2017Updated Dec 3, 2021
Labelstype: bugneeds: investigationseverity: regressionP2: required

Actual Behavior:

  • What is the issue? * md-virtual-repeat does not show with md-options . But some of this is listing, but not behave as a selection <md-input-container> <md-select ng-model='off.start_time' md-on-open='vm.mdSelectOnOpen()' multiple="false"> <md-virtual-repeat-container id="vertical-container"> <md-option md-virtual-repeat="option in vm.time" ng-value="option.value" ng-click="break.end_time=option.value">{{option.text}}</md-option> </md-virtual-repeat-container> </md-select> </md-input-container>

out

  • What is the expected behavior? out2

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue:
  • Details: I have tried some thinks, this working some how, but as expected as md-select. <md-input-container> <md-select ng-model='off.start_time' md-on-open='vm.mdSelectOnOpen()' multiple="false"> <md-virtual-repeat-container id="vertical-container"> <md-list-item md-virtual-repeat="option in vm.time"> <md-option ng-value="option.value" ng-click="break.end_time=option.value">{{option.text}}</md-option> </md-list-item> </md-virtual-repeat-container> </md-select> </md-input-container>

AngularJS Versions: *

  • AngularJS Version: 1.5.8
  • AngularJS Material Version: 1.1.1

Additional Information:

  • Browser Type: * chrome
  • Browser Version: * Version 58.0.3029.110 (64-bit)
  • OS: * Ubuntu 16.04
  • Stack Traces:

Shortcut to create a new CodePen Demo. Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions. Add more lines if needed.