fix(mobile): property input field keyboard mode (#8982)
This commit is contained in:
@@ -38,7 +38,8 @@ const DesktopNumberValue = ({ value, onChange }: PropertyValueProps) => {
|
|||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
className={styles.numberPropertyValueInput}
|
className={styles.numberPropertyValueInput}
|
||||||
type={'number'}
|
type="number"
|
||||||
|
inputMode="decimal"
|
||||||
value={tempValue || ''}
|
value={tempValue || ''}
|
||||||
onChange={handleOnChange}
|
onChange={handleOnChange}
|
||||||
onBlur={handleBlur}
|
onBlur={handleBlur}
|
||||||
@@ -109,7 +110,8 @@ const MobileNumberValue = ({
|
|||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
className={styles.mobileNumberPropertyValueInput}
|
className={styles.mobileNumberPropertyValueInput}
|
||||||
type={'number'}
|
type="number"
|
||||||
|
inputMode="decimal"
|
||||||
value={tempValue || ''}
|
value={tempValue || ''}
|
||||||
onChange={handleOnChange}
|
onChange={handleOnChange}
|
||||||
onBlur={handleBlur}
|
onBlur={handleBlur}
|
||||||
|
|||||||
@@ -102,6 +102,8 @@ export const SearchInput = forwardRef<HTMLInputElement, SearchInputProps>(
|
|||||||
<input
|
<input
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
{...attrs}
|
{...attrs}
|
||||||
|
type="search"
|
||||||
|
inputMode="search"
|
||||||
value={inputValue}
|
value={inputValue}
|
||||||
onInput={handleInput}
|
onInput={handleInput}
|
||||||
className={styles.input}
|
className={styles.input}
|
||||||
|
|||||||
Reference in New Issue
Block a user