mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 23:15:24 +02:00
Run the prefix update runs on a load of a form, which handles prefixes on an edit since no conditions change
This commit is contained in:
parent
11626b4d0f
commit
555ab8fb97
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ export default class extends Controller {
|
|||
"effectiveDateInput",
|
||||
];
|
||||
|
||||
connect() {
|
||||
// Update condition prefixes on first connection (form render)
|
||||
this.updateConditionPrefixes();
|
||||
}
|
||||
|
||||
addConditionGroup() {
|
||||
this.#appendTemplate(
|
||||
this.conditionGroupTemplateTarget,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue