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
We are using Reactive Forms inside of the modal and we have to enable/disable the save button depending if the form is valid or not.
We are doing this with a simple @input but it does never change the active state of the button. I have highlighted the respective lines in the screenshots below:
Here you can see, within the console the value of the input changes accordingly, but the HTML is not re-rendered (next to the save button it is still true instead of false)
The Modal is quite complicated to be used, we didn't get it why a ModalService is needed for handling all of the stuff. It would be much easier without the ModalService and without the ViewChild. We got a lot of restrictions and had to modify the code a lot to be able to use it.
Custom code examples:
Positioning is currently only able to be Centered, we also need it at the bottom right corner -> there I used the modalDialogClass property
Available sizes for the modal are strange, we need more possible sizes than SM, LG or XL -> there I used the modalDialogClass property
modalDialogClass property is not able to handle spacings -> if you have to add more than one class (depending on the inputs) you might have "classA classB classC" -> the whole ModalService breaks
What type of frontend frameware are you seeing the problem on?
Angular
Which version of iX do you use?
v1.4.0
Code to produce this issue.
No response
The text was updated successfully, but these errors were encountered:
What happened?
The modal is not able to handle dynamic content.
We are using Reactive Forms inside of the modal and we have to enable/disable the save button depending if the form is valid or not.
We are doing this with a simple @input but it does never change the active state of the button. I have highlighted the respective lines in the screenshots below:
Here you can see, within the console the value of the input changes accordingly, but the HTML is not re-rendered (next to the save button it is still true instead of false)
The Modal is quite complicated to be used, we didn't get it why a ModalService is needed for handling all of the stuff. It would be much easier without the ModalService and without the ViewChild. We got a lot of restrictions and had to modify the code a lot to be able to use it.
Custom code examples:
What type of frontend frameware are you seeing the problem on?
Angular
Which version of iX do you use?
v1.4.0
Code to produce this issue.
No response
The text was updated successfully, but these errors were encountered: