Commits

Alisa Ismailati authored and Stefano Maffei committed 1153c906acc Merge
Merged in coar-CST-12768 (pull request #1053)

[CST-12768] LDN Service edit "Automatic" flag fixed Approved-by: Stefano Maffei
No tags

src/app/admin/admin-ldn-services/ldn-service-form/ldn-service-form.component.ts

Modified
272 272
273 273 /**
274 274 * Toggles the value of the 'automatic' control at the specified index in the notifyServiceInboundPatterns form array.
275 275 *
276 276 * @param {number} i - The index of the 'automatic' control to toggle.
277 277 * @memberof LdnServiceFormComponent
278 278 */
279 279 toggleAutomatic(i: number) {
280 280 const automaticControl = this.formModel.get(`notifyServiceInboundPatterns.${i}.automatic`);
281 281 if (automaticControl) {
282 + automaticControl.markAsTouched();
282 283 automaticControl.setValue(!automaticControl.value);
283 284 }
284 285 }
285 286
286 287 /**
287 288 * Selects an outbound pattern for a specific index in the notifyServiceOutboundPatterns form array.
288 289 *
289 290 * @param {string} patternValue - The selected pattern value.
290 291 * @param {number} index - The index of the outbound pattern in the form array.
291 292 */

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut