-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Build all packages with TypeScript, including core #2799
Conversation
Note--should configure build scripts as in #2810 to ensure we output UMD builds |
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.
Let's add registry={registry} here:
react-jsonschema-form/packages/antd/src/templates/ArrayFieldTemplate/index.js
Lines 53 to 68 in 75d83a4
<Widget | |
autofocus={autofocus} | |
disabled={disabled} | |
formContext={formContext} | |
id={idSchema && idSchema.$id} | |
multiple | |
onBlur={onBlur} | |
onChange={onChange} | |
onFocus={onFocus} | |
options={options} | |
rawErrors={rawErrors} | |
readonly={readonly} | |
schema={schema} | |
title={schema.title || name} // Why not props.title? | |
value={formData} | |
/> |
…a-form into typescript/core
import React from 'react'; | ||
import ArrayFieldTemplate from '../ArrayFieldTemplate'; | ||
import ErrorList from '../ErrorList'; | ||
import Fields from '../Fields'; | ||
import FieldTemplate from '../FieldTemplate'; | ||
import ObjectFieldTemplate from '../ObjectFieldTemplate'; | ||
import SubmitButton from '../SubmitButton'; |
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.
Unused imports
packages/bootstrap-4/tsconfig.json
Outdated
} | ||
} | ||
} |
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.
Maybe add the missing newline at the end of the file?
import React from 'react'; | ||
import ArrayFieldTemplate from '../ArrayFieldTemplate'; | ||
import ErrorList from '../ErrorList'; | ||
import Fields from '../Fields'; | ||
import FieldTemplate from '../FieldTemplate'; | ||
import ObjectFieldTemplate from '../ObjectFieldTemplate'; | ||
import SubmitButton from '../SubmitButton'; |
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.
Unused imports
Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com>
Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com>
Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com>
…a-form into typescript/core
Since this commit, I am facing some issues regarding tests (at least) :
@epicfaace : are these already known issues ? |
1 similar comment
Since this commit, I am facing some issues regarding tests (at least) :
@epicfaace : are these already known issues ? |
Not sure, can you open an issue? It's working on CI. |
Reasons for making this change
Checklist