-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(pure-input): Добавил дополнительные параметры #577
Conversation
|
Pull Request Test Coverage Report for Build 4344866829
💛 - Coveralls |
Собрана новая демка. |
@@ -16,7 +16,7 @@ exports[`DateInput Display tests should match snapshot 1`] = ` | |||
> | |||
<input | |||
class="input input" | |||
inputmode="decimal" | |||
inputmode="text" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Уже ведь можно прокидывать стандартный inputMode, зачем дополнительно defaultInputMode? Тут сломалось, например
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, увидел что поломалось по тестам. Это поправлю. А по поводу того что уже можно прокидывать. Это везде теперь можно, подскажите, пожалуйста. Например inputAutocomplete -> съест?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В InputAutocomplete -> inputProps={{inputMode: 'numeric'}} работает
Необходимо добавить возможность выбора у компонентов input и inputAutocomplete, типа отображаемой виртуальной клавиатуры (inputmode)
При передаче компонентам параметра defaultInputMode (название изменено от стандартного (inputmode) для верной обработки типов) меняется тип виртуальной клавиатуры