javascript - Missing HTML5 popup on fields -


i've encounterd issue while creating form. form created in dialog angular-material(1.x). intention not write "novalidate" in form, got user friendly validator long form, because html5 popup show user missed information(like on picture linked below) redirecting him it(scrolling or down it). maybe angular material not compatible this(have no idea), there "md-select" required attribute wich not poping while it's invalid. there way force popup or manually add select?

popup example

note: other types of input work should selects have issue

    <md-dialog aria-label="form"> <form name="form" ng-cloak ng-submit="form.$valid && saveanddownload()">     <md-dialog-content>          ...          <md-input-group layout="row" style="margin-top: 20px;">             <md-input-container>                 <label>location</label>                 <md-select name="location" style="width: 250px"                            ng-model="locationofexamination" required>                     <md-option ng-value="location" ng-repeat="location in locationlist">{{ location }}                     </md-option>                 </md-select>                 <div ng-messages="form.location.$error">                     <div ng-message="required">                         must choose location.                     </div>                 </div>             </md-input-container>         </md-input-group>          ...      </md-dialog-content>     <md-dialog-actions layout="row">         <md-button class="md-raised" ng-click="cancel()" ng-disabled="loading">             return         </md-button>         <span flex></span>         <span flex></span>         <md-button class="md-raised md-warn" type="submit" ng-disabled="loading">             save , download         </md-button>     </md-dialog-actions> </form> 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -