Skip to content

Type is not maintained on the md-input. #296

@geelus

Description

@geelus

Note: for support questions, please use one of these channels:
https://github.com/angular/material2/blob/master/CONTRIBUTING.md#question.
This repository's issues are reserved for feature requests and bug reports.

  • Do you want to request a feature or report a bug?
    yes
  • What is the current behavior?
    The types on the md-input control changes to string even though it's and integer initially.
  • If the current behavior is a bug,
    please provide steps to reproduce and if possible a minimal demo of the problem

    via
    Sorry I don't have time for this but it's really simple to produce.
  • What is the expected behavior?
    This behavior is not like the normal input box and I believe this is a bug. I checked with the normal input box and the type is maintained when I do two way data binding. But md-input changes all the bound item types to "string".
  • What is the motivation / use case for changing the behavior?
  • Which version of Angular and Material, and which browser and OS does this issue affect?
    Did this work in previous versions of Angular / Material?
    Please also test with the latest stable and snapshot versions.

I'm using version alpha 2 material and beta 14 angular2

  • Other information
    (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions