Created
May 23, 2025 19:51
-
-
Save MonaAghili/fe1a8c53b85d6ceaa188a61b7328a544 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const formConfig = { | |
| options: { | |
| classes: '', | |
| footer: { | |
| buttons: [ | |
| { | |
| type: 'Submit', | |
| name: 'ذخیره', | |
| classes: 'form-submit-button', | |
| }, | |
| { | |
| type: 'Button', | |
| name: 'انصراف', | |
| classes: 'form-cancel-button', | |
| path: readonlyRoutes.admin.DRIVERS, | |
| }, | |
| ], | |
| }, | |
| }, | |
| ordering: [ | |
| { | |
| header: {}, | |
| classes: 'three-col-grid', | |
| fields: [ | |
| 'name', | |
| 'father_name', | |
| 'date', | |
| 'code_melli', | |
| 'mobile', | |
| 'email', | |
| ], | |
| }, | |
| ], | |
| fields: { | |
| name: { | |
| name: 'نام و نام خانوادگی', | |
| options: { | |
| type: 'InputBox', | |
| inputType: 'text', | |
| fieldName: 'name', | |
| }, | |
| }, | |
| father_name: { | |
| name: 'نام پدر', | |
| options: { | |
| type: 'InputBox', | |
| inputType: 'text', | |
| fieldName: 'father_name', | |
| }, | |
| }, | |
| birthday: { | |
| name: '', | |
| options: { | |
| fieldName: 'birthday', | |
| type: 'DatePicker', | |
| fields: { | |
| birthday: { | |
| name: 'تاریخ تولد', | |
| }, | |
| }, | |
| }, | |
| }, | |
| code_melli: { | |
| name: 'شماره ملی', | |
| options: { | |
| type: 'InputBox', | |
| inputType: 'number', | |
| fieldName: 'code_melli', | |
| }, | |
| }, | |
| mobile: { | |
| name: 'شماره موبایل', | |
| options: { | |
| type: 'InputBox', | |
| inputType: 'tell', | |
| fieldName: 'mobile', | |
| }, | |
| }, | |
| email: { | |
| name: 'آدرس ایمیل', | |
| options: { | |
| type: 'InputBox', | |
| inputType: 'email', | |
| fieldName: 'email', | |
| }, | |
| }, | |
| }, | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment