angular
angular copied to clipboard
[Question] - [Custom Component] - Custom components are not maintain the state when dragging
Custom components are not maintaining the values/state when dragged.
- I created a custom button component and have a property called buttonText to store the button text.
editform: () => {
return [{
key: customOptions.buttonText,
type: 'textfield'
input: true,
defaultValue: 'Complete Payment'
}]
- Added to the form and modified the buttonText field to "Pay Now". Everything works fine up until this point.
But when we drag the custom button, it shows the default value of "Complete Payment" rather than the updated value "Pay Now".
Any idea how I can fix this?
@dinbtechit Can you let us know what versions you are using?
Thank you for your contribution. As this issue has been inactive for over 90 days, I will close it for now. If you wish to reopen the issue, please respond, and we can resume the triage process.