This is an automated email from the ASF dual-hosted git repository.

sunyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b1f7c0  fix: add maxlength={256} to Input.TextArea (#1358)
4b1f7c0 is described below

commit 4b1f7c09ecce1367639d890aa8fe6e9ee9746658
Author: Kishani Kandasamy <53715187+kishanikandas...@users.noreply.github.com>
AuthorDate: Sun Jan 24 14:14:32 2021 +0530

    fix: add maxlength={256} to Input.TextArea (#1358)
---
 web/src/pages/Route/components/Step1/MetaView.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/web/src/pages/Route/components/Step1/MetaView.tsx 
b/web/src/pages/Route/components/Step1/MetaView.tsx
index 09f64e5..ed86282 100644
--- a/web/src/pages/Route/components/Step1/MetaView.tsx
+++ b/web/src/pages/Route/components/Step1/MetaView.tsx
@@ -134,6 +134,7 @@ const MetaView: React.FC<RouteModule.Step1PassProps> = ({ 
disabled, form, isEdit
         <Input.TextArea
           placeholder={formatMessage({ id: 
'component.global.input.placeholder.description' })}
           disabled={disabled}
+          showCount maxLength={256}
         />
       </Form.Item>
 

Reply via email to