Guest User

Untitled

a guest
Jun 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. ERROR in src/app/agriculture/agriculture.component.html(20,61): : Property 'districts' does not exist on type '{}'.
  2. src/app/agriculture/agriculture.component.html(27,60): : Property 'years' does not exist on type '{}'.
  3. src/app/agriculture/agriculture.component.html(35,64): : Property 'view' does not exist on type '{}'.
  4. src/app/agriculture/agriculture.component.html(41,64): : Property 'rain_fall_type' does not exist on type '{}'.
  5. src/app/agriculture/agriculture.component.html(48,68): : Property 'Comparison' does not exist on type '{}'.
  6. src/app/agriculture/agriculture.component.html(20,61): : Property 'districts' does not exist on type '{}'.
  7. src/app/agriculture/agriculture.component.html(27,60): : Property 'years' does not exist on type '{}'.
  8. src/app/agriculture/agriculture.component.html(35,64): : Property 'view' does not exist on type '{}'.
  9. src/app/agriculture/agriculture.component.html(41,64): : Property 'rain_fall_type' does not exist on type '{}'.
  10. src/app/agriculture/agriculture.component.html(48,68): : Property 'Comparison' does not exist on type '{}'.
  11.  
  12. data = {};
  13.  
  14. <div class="col-sm-2">
  15. <select class='select-option' required [(ngModel)]='data.years' name="years">
  16. <option [ngValue]="undefined" disabled selected> Views </option>
  17. <option class='option' *ngFor='let option of views' [ngValue]="option">{{option}}</option>
  18. </select>
  19. </div>
  20.  
  21. views = ["Graph", "Trend Line","Map View","Table"];
Add Comment
Please, Sign In to add comment