Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(amis-editor):增加inputText、textArea最大字数配置&修复上下文变量过长显示问题 #6661

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

lghxuelang
Copy link
Collaborator

@lghxuelang lghxuelang commented Apr 20, 2023

What

🤖 Generated by Copilot at 129129f

This pull request adds the maxLength property to the text input and textarea components, and the overflow-x property to the data chain component. These changes improve the functionality, validation, and usability of the form and data chain plugins.

🤖 Generated by Copilot at 129129f

maxLength added
to text and textarea
autumn of inputs

Why

How

🤖 Generated by Copilot at 129129f

  • Add maxLength property to text input and textarea components to limit the number of characters entered (link, link)
  • Render maxLength property as an input-number field with minimum value of 0 and step of 1 in InputText.tsx and Textarea.tsx files (link, link)
  • Enable horizontal scrolling of data chain component when content exceeds container width by adding overflow-x: auto property to .data-chain class in _data-chain.scss file (link)

@github-actions github-actions bot added the feat label Apr 20, 2023
@github-actions
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@2betop 2betop merged commit de23d03 into baidu:master Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants