You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See Save button now disabled (the form is invalid)
Now, add text to the form input (making the form valid)
Save button is still disabled, i.e. myButton.updated({ disabled: !isValid }) did not do anything.
Expected behavior
When calling button.updated({ disabled: true/false }) the updated setting should be reflected in the UI.
Version
ids-enterprise: v4.58.0
ids-enterprise-ng: v10.11.0
Screenshots
How i'm calling the updated():
Platform
Infor Application/Team Name: Infor M3
OS Version: Big Sur
Browser Name: Firefox (but shouldn't matter)
Additional context
I think it has to do with the code starting on line 315 in Button.js:
// Handle a one-time `disabled` setting, if defined.if(this.settings.disabled){this.disabled=this.settings.disabled===true;deletethis.settings.disabled;}
If i've called the update with disabled: true and then want to remove that disabled, the setting will have to be false, but will never enter the codeblock to actually set this.disabled = false, so it will keep being disabled.
The text was updated successfully, but these errors were encountered:
@tmcconechy that's weird. Can't recall I've seen that before.
This is the error when entering in the input in the component in the CAP:
And since I havn't added anything to the example stackblitz more than the CAP component and the code for opening the CAP, the only accordionAPI there can be is in regards to the application-menu. When entered something in the application menu searchfield input we get the same error.
So, I set [filterable]="false" on the <nav soho-application-menu> in app.html will not yield any errors.
No idea why the accordionAPI is undefined (why filtering is not working for the application menu) or why that error would appear when entering in then input field in the CAP dialog? Must be some event bubbling?
Seems like an unrelated issues to this reported issue though?
No able to update the disable state of button in flex toolbar in CAP dialog more than once.
Steps to reproduce the behavior:
myButton.updated({ disabled: !isValid })
did not do anything.Expected behavior
When calling
button.updated({ disabled: true/false })
the updated setting should be reflected in the UI.Version
Screenshots
How i'm calling the updated():
Platform
Additional context
I think it has to do with the code starting on line 315 in Button.js:
If i've called the update with
disabled: true
and then want to remove that disabled, the setting will have to be false, but will never enter the codeblock to actually setthis.disabled = false
, so it will keep being disabled.The text was updated successfully, but these errors were encountered: