File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed
apps/demos/Demos/FileUploader/FileSelection Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ const fileUploaderLabel = { 'aria-label': 'Select Photo' };
1010export 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 (
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ import notify from 'devextreme/ui/notify';
5454const formRef = ref ();
5555
5656function 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}
Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments