-
Notifications
You must be signed in to change notification settings - Fork 729
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
Various bugs and fix requests with w2ui.form #2081
Comments
Thank you for you feedback. Some points are great. Here is some feedback (I will keep the issue open to make sure it is taken care of)
|
|
|
|
Unmerged changes for grid can be found at record.w2ui.changes |
i have render function. When I make changes on the grid using the "add" or "set" method, the "render function" does not work. I didn't understand your post :) I don't want to access anything via changes :) Example;
|
if using underscore js, you can try something like and also to make sure the grid's refreshRow method is run after the change. |
Sound like you want to use a custom w2field type. The advantage: if you have 100 fields that should all behave the same, you implement the custom type once, instead of defining the same render function in 100 different places. |
How can I use it in the form? can you give an example? |
Demo for w2ui 2.0: For w2ui 1.5 replace
with
|
1- The disable feature should be added to the action button. because I don't want the save button to be active. I want it to be active when there is a change in w2ui.form. In this, it is necessary to add disabled to the button.
2- "render" method should be added for each field in w2ui.form.
example;
3- I have a function create Form(recid, title) {} method. If I'm going to make an edit, I assign the value of selection to the value of recid. If I am going to add a new record, I give its value zero. but there is a problem. For example, there is a field called CreateDateTime. It should be displayed when edited. "CreateDateTime" should not be a field when adding a new record. ok this issue seems to be "push"able using the w2ui.form.fields array. but then "render function" probably won't work.
4- When the text field is disabled, the cursor sign appears when the mouse is hovered, it looks like it can be edited. cursor icon should be changed to make it understandable.
Appearing

Must be

The text was updated successfully, but these errors were encountered: