|
- = ({
}`}
>
|
- handleRowSelect(rowIndex)}
diff --git a/ui/src/components/orders/PaymentForm.tsx b/ui/src/components/orders/PaymentForm.tsx
index 01434fb2..2c1667b5 100644
--- a/ui/src/components/orders/PaymentForm.tsx
+++ b/ui/src/components/orders/PaymentForm.tsx
@@ -10,6 +10,7 @@ import { OrderService } from '@/services/order.service'
import { CustomTenantDto } from '@/proxy/config/models'
import { useLocalization } from '@/utils/hooks/useLocalization'
import { Button } from '@/components/ui'
+import Input from '@/components/ui/Input'
interface BasketData {
items: BasketItem[]
@@ -165,7 +166,8 @@ export const PaymentForm: React.FC = ({ onBack, onComplete, ba
- = ({ onBack, onComplete, ba
: 'border-gray-200 bg-white hover:border-blue-300 hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-950/40 dark:hover:border-blue-500 dark:hover:bg-gray-800/70'
}`}
>
- = ({ onBack, onComplete, ba
: 'border-gray-200 bg-white hover:border-blue-200 hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-950/40 dark:hover:border-blue-500 dark:hover:bg-gray-800/70'
}`}
>
- = ({ onBack, onComplete, ba
{translate('::App.PaymentCard.CardTitle')}
- = ({ onBack, onComplete, ba
className="w-full px-4 py-2 border border-gray-300 rounded-lg bg-white text-gray-900 placeholder-gray-500 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-100 dark:placeholder-gray-400"
placeholder={translate('::App.PaymentCard.CardName')}
/>
- = ({ onBack, onComplete, ba
maxLength={19}
/>
- = ({ onBack, onComplete, ba
placeholder="MM/YY"
maxLength={5}
/>
- = ({
- {
label: string
@@ -616,7 +617,8 @@ export const TenantForm: React.FC = ({ onSubmit }) => {
- = ({ onSubmit }) => {
- = ({ onSubmit }) => {
- = ({ onSubmit }) => {
- = ({ onSubmit }) => {
- = ({ onSubmit }) => {
- = ({ onSubmit }) => {
- = ({ onSubmit }) => {
- = ({ onSubmit }) => {
- = ({ onSubmit }) => {
-
)}
{(param.type === 'text' || param.type === 'number') && (
-
{translate('::App.Listform.ListformField.Value')}
-
- {
)}
- {
- ((props, ref) => {
+const Input = forwardRef ((props, ref) => {
const {
asElement: Component = 'input',
className,
@@ -156,7 +156,7 @@ const Input = forwardRef((props, ref
}
const inputProps = {
- className: !unstyle ? inputClass : '',
+ className: !unstyle ? inputClass : className,
disabled,
type,
ref,
diff --git a/ui/src/components/visualDesigner/VisualCanvas.tsx b/ui/src/components/visualDesigner/VisualCanvas.tsx
index 66b5c8da..b318313e 100644
--- a/ui/src/components/visualDesigner/VisualCanvas.tsx
+++ b/ui/src/components/visualDesigner/VisualCanvas.tsx
@@ -10,6 +10,7 @@ import { useLocalization } from '@/utils/hooks/useLocalization'
import { formatLocaleValue } from '@/utils/localeFormat'
import { FaArrowDown, FaArrowUp, FaClone, FaGripVertical, FaTrash } from 'react-icons/fa'
import { beginDesignerDragSoon, endDesignerDrag, useDesignerDrag } from './designerDrag'
+import Input from '@/components/ui/Input'
import {
buildDesignerFilterParams,
buildSqlDefaultRecord,
@@ -1352,7 +1353,13 @@ const renderElement = (
)
}
if (node.type === 'checkbox') {
- return )} type="checkbox" />
+ return (
+ , 'size'>)}
+ type="checkbox"
+ />
+ )
}
if (node.kind === 'html') {
// An empty element paints nothing, so on the canvas it would look like the
diff --git a/ui/src/views/admin/files/components/FileItem.tsx b/ui/src/views/admin/files/components/FileItem.tsx
index cdf1a11d..c7450577 100644
--- a/ui/src/views/admin/files/components/FileItem.tsx
+++ b/ui/src/views/admin/files/components/FileItem.tsx
@@ -27,6 +27,7 @@ import { toast, Notification } from '@/components/ui'
import type { FileItem as FileItemType, FileActionMenuItem } from '@/types/fileManagement'
import { FILE_URL } from '@/constants/app.constant'
import { useLocalization } from '@/utils/hooks/useLocalization'
+import Input from '@/components/ui/Input'
export interface FileItemProps {
item: FileItemType
@@ -391,7 +392,8 @@ const FileItem = forwardRef((props, ref) => {
{/* Checkbox */}
{!item.isReadOnly ? (
- ((props, ref) => {
{/* Checkbox */}
{!item.isReadOnly && (
- ((props,
onDragLeave={handleDragLeave}
onDrop={handleDrop}
>
- {
|