diff --git a/ipi-survey-platform/public/assets/images/HS-Code UAE (002).pdf b/ipi-survey-platform/public/assets/images/HS-Code UAE (002).pdf new file mode 100644 index 0000000..9719146 Binary files /dev/null and b/ipi-survey-platform/public/assets/images/HS-Code UAE (002).pdf differ diff --git a/ipi-survey-platform/src/components/survey/ProductData/ProductData.jsx b/ipi-survey-platform/src/components/survey/ProductData/ProductData.jsx index 790c8cb..d308512 100644 --- a/ipi-survey-platform/src/components/survey/ProductData/ProductData.jsx +++ b/ipi-survey-platform/src/components/survey/ProductData/ProductData.jsx @@ -18,6 +18,7 @@ const trashActiveSrc = '/assets/images/Trash - active.svg'; const searchIcon = '/assets/images/material-symbols_search-rounded.svg'; const uae_currency = '/assets/images/UAE_Dirham_Symbol.svg'; + const Input = ({ placeholder = '', type = 'text', value = '', onChange = () => {}, required = false, error = false }) => { const [isFocused, setIsFocused] = React.useState(false); @@ -1219,7 +1220,17 @@ const location = useLocation();
-

Products

+
+

Products

+ + Please click here to view the list of HS codes + +
-
+ {error && (
{error} @@ -199,6 +199,7 @@ if (newPassword !== confirmPassword) { type="email" value={registeredEmail} disabled + autoComplete="username" className="block w-full h-10 rounded-md border-2 border-gray-300 px-4 text-sm bg-gray-50 cursor-not-allowed" />
@@ -227,6 +228,7 @@ if (newPassword !== confirmPassword) { toggleShow={() => setShowOtp((v) => !v)} placeholder="Enter 6-digit code" error={otpError} + autoComplete="one-time-code" /> setShowNewPassword((v) => !v)} placeholder="Enter new password" @@ -254,6 +257,7 @@ if (newPassword !== confirmPassword) { setConfirmPassword(value); if (newPassword === value) setConfirmPasswordError(""); }} + autoComplete="new-password" show={showConfirmPassword} toggleShow={() => setShowConfirmPassword((v) => !v)} placeholder="Re-enter new password" diff --git a/ipi-survey-platform/src/pages/Login/Login.jsx b/ipi-survey-platform/src/pages/Login/Login.jsx index 1b0d3fc..9a2d198 100644 --- a/ipi-survey-platform/src/pages/Login/Login.jsx +++ b/ipi-survey-platform/src/pages/Login/Login.jsx @@ -322,7 +322,7 @@ const Login = () => {
- + {isLocked && remainingTime > 0 && (
@@ -366,6 +366,7 @@ const Login = () => { }} placeholder="name@company.com" disabled={isLocked} + autoComplete="username" className={`block w-full h-10 rounded-md border-2 px-4 text-sm focus:ring-0 ${ emailError ? 'border-red-500 bg-red-50' @@ -390,6 +391,7 @@ const Login = () => { if (passwordError) setPasswordError(''); }} disabled={isLocked} + autoComplete="current-password" className={`block w-full h-10 rounded-md border-2 px-4 pr-11 text-sm focus:ring-0 ${ passwordError ? 'border-red-500 bg-red-50' diff --git a/ipi-survey-platform/src/pages/PublicContactForm.jsx b/ipi-survey-platform/src/pages/PublicContactForm.jsx index 68d0da7..1a41b72 100644 --- a/ipi-survey-platform/src/pages/PublicContactForm.jsx +++ b/ipi-survey-platform/src/pages/PublicContactForm.jsx @@ -224,7 +224,7 @@ const PublicContactForm = () => {
{!otpStep ? ( - + {errorMsg && (
{errorMsg} @@ -306,6 +306,7 @@ const PublicContactForm = () => { value={formData.email} onChange={handleChange} error={errors.email} + autoComplete="username" />