Closed foysalit closed 6 years ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
We have special htmlPropsUtils for these case. We just need to add a new value there.
Feel free to open PR 👍
Feature Request
As of now,
<Input lang="fr"/>
will addlang="fr"
on the wrapping div element instead of the input element itself. It would be great if we could set the lang prop to input elements for localization purposes.Proposed solution
I can implement the additional property and submit a PR if someone from the team can point me in the right direction. Will it work if I just add the
lang
prop in this file: https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/elements/Input/Input.d.ts ?