You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@answer.apache.org by "Dinesht04 (via GitHub)" <gi...@apache.org> on 2025/11/13 21:02:19 UTC

Re: [PR] feat(ui): add min|max values for inputs and context-based keyboards for inputs (for touch systems) [answer]

Dinesht04 commented on code in PR #1424:
URL: https://github.com/apache/answer/pull/1424#discussion_r2524925591


##########
ui/src/components/SchemaForm/components/Input.tsx:
##########
@@ -29,6 +29,17 @@ interface Props {
   onChange?: (fd: Type.FormDataType) => void;
   formData: Type.FormDataType;
   readOnly: boolean;
+  minValue?: number;
+  inputMode?:
+    | 'text'
+    | 'search'
+    | 'none'
+    | 'tel'
+    | 'url'
+    | 'email'
+    | 'numeric'
+    | 'decimal'
+    | undefined;
 }

Review Comment:
   Thank you for the help. I have added the relevant types, tested the functionality through  SMTP and added the support for max attribute in the latest commit.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@answer.apache.org
For additional commands, e-mail: issues-help@answer.apache.org