simonguo on FormControl-Toggle
Update src/FormControl/test/For… (compare)
SevenOutman on main
Fix issue 3042 (#3044) * fix(T… (compare)
SevenOutman on 3042
@SevenOutman Hi! Awesome work you guys are doing. Rsuite absolute beast.
I need a small fix to get the Uploader to work for graphql-upload. It seems that the order of formdata fields are strict which means I encounter this error:
"Misordered multipart fields; files should follow ‘map’".
https://github.com/jaydenseric/graphql-multipart-request-spec
Could you switch line https://github.com/rsuite/rsuite/blob/ea54e642ee08a1dafdbb87730fcf50adda6d08be/src/utils/ajaxUpload.ts#L55
To the end of the formdata initialization?
sendableData = new FormData();
sendableData.append(name, file, file.name);
for (const key in data) {
sendableData.append(key, data[key]);
}
TO
sendableData = new FormData();
for (const key in data) {
sendableData.append(key, data[key]);
}
sendableData.append(name, file, file.name);
Typo issue in popover documentation under Default Examples.
default is spelled as defalut
const instance = (
<div style={{ height: 100, position: 'relative' }}>
<Popover title="Title" visible>
<p>This is a defalut Popover </p>
<p>Content</p>
</Popover>
</div>
);
ReactDOM.render(instance);
<SelectPicker
data={data}
searchable={false}
cleanable={false}
defaultValue={props.defaultValue.toString()}
/>