question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug, feature request, or proposal:

Implementing md-input by following readme:

<md-input-container>
  <input mdInput>
</md-input-container>

I get the following error: “md-input-container must contain an md-input directive. Did you forget to add md-input to the native input or textarea element?”

This is fixed by replacing mdInput with md-input. Is there a typo in the readme???

Using Angular Material 2.0.0-beta.1

What is the expected behavior?

What is the current behavior?

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, browsers are affected?

Is there anything else we should know?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:11
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

13reactions
ChuckkNorriscommented, Jan 7, 2017

Noticed this issue as well.

It looks like the selector was updated 3 days ago to match the directive formatting convention (mdInput instead of md-input). Until this change is pushed to NPM, just revert to the old selector.

<md-input-container>
  <input md-input placeholder="Name">
</md-input-container>
8reactions
magemellocommented, Mar 23, 2017

So I suppose the https://material.angular.io/ documentation doesn’t get updated in real time, if not what is the best place to get latest doc?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Md-Input Readme · Issue #2529 · angular/components - GitHub
Bug, feature request, or proposal: Implementing md-input by following readme: I get the following error: "md-input-container must contain an ...
Read more >
about 01-aie_lenet_tutorial / README.md input image form
I want to figure out that how to make myself input data?or how can i use the data in input.h to recovery the...
Read more >
react-md-input - npm
Start using react-md-input in your project by running `npm i react-md-input`. ... Homepage. github.com/mcnallydev/react-md-input#readme ...
Read more >
holgerbrandl/datautils: tools/rnblight/README.md - RDRR.io
md) cp $mdInput ${mdBase}.Rmd kscript --idea strip_chunk_results.kts kscript strip_chunk_results.kts ${mdBase}.md Rscript - <<"EOF" knitr::knit('${mdBase}.Rmd', ...
Read more >
README.md - sourcegraph/run
ReplaceAll(readmeData.Bytes(), exampleData.Bytes()) // Pipe data to command err = run.Cmd(ctx, "cp /dev/stdin README.md").Input(bytes.NewReader(replaced)).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found