mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-21 08:01:31 +03:00
fix(mobile): property input field keyboard mode (#8982)
This commit is contained in:
parent
6873a947fa
commit
671885d510
@ -38,7 +38,8 @@ const DesktopNumberValue = ({ value, onChange }: PropertyValueProps) => {
|
||||
>
|
||||
<input
|
||||
className={styles.numberPropertyValueInput}
|
||||
type={'number'}
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
value={tempValue || ''}
|
||||
onChange={handleOnChange}
|
||||
onBlur={handleBlur}
|
||||
@ -109,7 +110,8 @@ const MobileNumberValue = ({
|
||||
>
|
||||
<input
|
||||
className={styles.mobileNumberPropertyValueInput}
|
||||
type={'number'}
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
value={tempValue || ''}
|
||||
onChange={handleOnChange}
|
||||
onBlur={handleBlur}
|
||||
|
@ -102,6 +102,8 @@ export const SearchInput = forwardRef<HTMLInputElement, SearchInputProps>(
|
||||
<input
|
||||
ref={inputRef}
|
||||
{...attrs}
|
||||
type="search"
|
||||
inputMode="search"
|
||||
value={inputValue}
|
||||
onInput={handleInput}
|
||||
className={styles.input}
|
||||
|
Loading…
Reference in New Issue
Block a user