We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With Typography Editable one can design read friendly Pages. Where editing only happens infrequently.
However there is missing a nice way to validate the input on changes. For example when an email field is changed to an invalid field.
It would be nice if one could provide some way to validate the input field like on Forms.
<Form.Item label="E-mail"> {getFieldDecorator('email', { rules: [ { type: 'email', message: 'The input is not valid E-mail!', }, { required: true, message: 'Please input your E-mail!', }, ], })(<Typography.Text editable />)} </Form.Item>
The text was updated successfully, but these errors were encountered:
Typography is a light way component with edit ability. Using Typography with Form is miss use by our design language. No recommend to do this.
But you can still wrap Typography as form-able customize component.
Sorry, something went wrong.
No branches or pull requests
What problem does this feature solve?
With Typography Editable one can design read friendly Pages. Where editing only happens infrequently.
However there is missing a nice way to validate the input on changes. For example when an email field is changed to an invalid field.
It would be nice if one could provide some way to validate the input field like on Forms.
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: