-
Notifications
You must be signed in to change notification settings - Fork 210
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
'Save' button for an action is automatically disabled in UI #340
Comments
GitMate.io thinks the contributor most likely able to help you is @jywarren. Possibly related issues are #303 (Disable/dim the Add step button until a module is selected), and #302 (Disable/dim the Save button until step inputs have been changed). |
1 similar comment
GitMate.io thinks the contributor most likely able to help you is @jywarren. Possibly related issues are #303 (Disable/dim the Add step button until a module is selected), and #302 (Disable/dim the Save button until step inputs have been changed). |
hmm, yes this appears to be a problem, I think we should enable the save button on "focus" based event. Thanks for pointing out @Ankit-Singla |
Yes, I would love to give it a try. |
Merging with #377! |
Okay, this is still not fixed reopening this! |
The buttons works but only when the input field is updated |
Hmm, harsh I was expecting behavior where we don't have to shift focus after changing the field to enable the button. |
Yeah that's what we would like fixed :) |
If we add a |
Hmm, I don't think that's going to cut it since we want to enable it only when the value is changed. Maybe this needs some research work! |
I think a onKeyUp or similar event listener would work but change in values should be taken into account |
Harsh I think we would need to make a custom function for this, this kind of functionality usually exists in frameworks like vue and react so we can take some inspiration from there I guess. |
Or we can get the initial value when the field is focused and compare it onkeyup or onchange. |
|
I'm trying to fix this. I'll open a PR tomorrow and we will discuss this there. |
The 'Save' button is automatically disabled whenever a new action/process is applied on any image, or after some parameters are changed and the 'Save' button is clicked. It requires being clicked two times on changing values of parameters, as it does not get autofocus when the values are changed.
@tech4GT @jywarren
The text was updated successfully, but these errors were encountered: