Skip to content

Commit d523212

Browse files
r-farkhutdinovRuslan Farkhutdinov
andauthored
FileUploader Demos: Update Form Upload submit modal message (#30228)
Co-authored-by: Ruslan Farkhutdinov <[email protected]>
1 parent 3ed1420 commit d523212

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

apps/demos/Demos/FileUploader/FileSelection/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class AppComponent {
2727
@ViewChild('form') form: NgForm;
2828

2929
updateClick() {
30-
notify('Uncomment the line to enable sending a form to the server.');
30+
notify('This demo only illustrates the form upload interface. Uploading to a server is not available.');
3131
// form.submit();
3232
}
3333
}

apps/demos/Demos/FileUploader/FileSelection/React/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function App() {
1212
const formElement = useRef(null);
1313

1414
const onClick = useCallback(() => {
15-
notify('Uncomment the line to enable sending a form to the server.');
15+
notify('This demo only illustrates the form upload interface. Uploading to a server is not available.');
1616
// formElement.current.submit();
1717
}, []);
1818

apps/demos/Demos/FileUploader/FileSelection/ReactJs/App.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ const fileUploaderLabel = { 'aria-label': 'Select Photo' };
1010
export default function App() {
1111
const formElement = useRef(null);
1212
const onClick = useCallback(() => {
13-
notify('Uncomment the line to enable sending a form to the server.');
13+
notify(
14+
'This demo only illustrates the form upload interface. Uploading to a server is not available.',
15+
);
1416
// formElement.current.submit();
1517
}, []);
1618
return (

apps/demos/Demos/FileUploader/FileSelection/Vue/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import notify from 'devextreme/ui/notify';
5454
const formRef = ref();
5555
5656
function onButtonClick() {
57-
notify('Uncomment the line to enable sending a form to the server.');
57+
notify('This demo only illustrates the form upload interface. Uploading to a server is not available.');
5858
// const form = this.$refs[this.formRefName];
5959
// form.submit();
6060
}

apps/demos/Demos/FileUploader/FileSelection/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $(() => {
2323
text: 'Update profile',
2424
type: 'success',
2525
onClick() {
26-
DevExpress.ui.dialog.alert('Uncomment the line to enable sending a form to the server.', 'Click Handler');
26+
DevExpress.ui.dialog.alert('This demo only illustrates the form upload interface. Uploading to a server is not available.', 'Click Handler');
2727
// $("#form").submit();
2828
},
2929
});

0 commit comments

Comments
 (0)