From 5baaf14bd952260da08432e55873bd4cbdfb355a Mon Sep 17 00:00:00 2001 From: Rafiafrzl Date: Thu, 23 Oct 2025 11:16:37 +0700 Subject: [PATCH] feat: add maxLength --- src/pages/master/unit/component/DetailUnit.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/master/unit/component/DetailUnit.jsx b/src/pages/master/unit/component/DetailUnit.jsx index 3bcdc50..8da4eaa 100644 --- a/src/pages/master/unit/component/DetailUnit.jsx +++ b/src/pages/master/unit/component/DetailUnit.jsx @@ -209,9 +209,10 @@ const DetailUnit = (props) => { name="description" value={formData.description} onChange={handleInputChange} - placeholder="Enter Description" + placeholder="Enter Description (Optional)" readOnly={props.readOnly} rows={4} + maxLength={100} />