-
Notifications
You must be signed in to change notification settings - Fork 15
Override text and textarea widget to show warnings for soft_max_length #747
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
base: main
Are you sure you want to change the base?
Conversation
...packages/volto-light-theme/src/customizations/volto/components/manage/Widgets/TextWidget.jsx
Outdated
Show resolved
Hide resolved
...ages/volto-light-theme/src/customizations/volto/components/manage/Widgets/TextareaWidget.jsx
Outdated
Show resolved
Hide resolved
iFlameing
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
@sneridagh ready for review as we discussed. |
sneridagh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the comments.
We need documentation for this new widget too, and how to use it in the backend too.
| @@ -0,0 +1,136 @@ | |||
| /** | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tishasoumya-02 @iFlameing this is no longer a customization, so we don't need the comments.
|
|
||
| config.widgets.widget.colorPicker = ColorPicker; | ||
| config.widgets.widget.themeColorSwatch = ThemeColorSwatch; | ||
| config.widgets.widget.soft_text_widget = SoftTextWidget; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know the pickyness, but in VLT we are using camelCase widget names.
Screen.Recording.2025-12-16.at.7.58.18.PM.mov