Material-ui: Documentation: TextField - onBlur()

Created on 26 Oct 2016  路  6Comments  路  Source: mui-org/material-ui

Query: is onBlur() supported/will be supported going forward with TextField?

TextField has an onBlur() function. Is this function official and will it be supported going forward? I ask as it is not in the documentation. Thanks so much.

Versions

  • Material-UI: 0.15.4
  • React: 15.3.0
  • Browser: Chrome Ubuntu: 54.0.2840.59 unknown (64-bit)
question

Most helpful comment

I definitely think it would bring a lot of value to document somewhere, that you can still access native methods. It wasn't obvious for me, so I'm sure other's had to do some digging as well.

If it is documented on your site, would you please post a link?

All 6 comments

The onBlur method isn't documented as we decided to no document native methods.
It should be working as expected on a regular input and should still be the same on the next branch.

I definitely think it would bring a lot of value to document somewhere, that you can still access native methods. It wasn't obvious for me, so I'm sure other's had to do some digging as well.

If it is documented on your site, would you please post a link?

No, it's not documented as more generic to React. Maybe you could find it on the React documentation website.

Any other properties supplied will be spread to the root element.

@kenttk Isn't what we already have?

@oliviertassinari ah.... i'm very sorry! didn't mean to waste your time

Feel free to submit a PR if you have a plan regarding improving that :).

Was this page helpful?
0 / 5 - 0 ratings