mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
Replace the two ngModel bindings of the historical market data editor dialog with a reactive FormGroup (date: disabled control, marketPrice: required control), following the pattern of the prompt dialog and the rule settings dialog (#7037). The Save button is now a submit button that is disabled while the form is pristine or invalid; Cancel and "Fetch market price" are explicit type="button" so they do not submit the form. Fetching a market price sets the control value and marks it dirty, so the fetched value can be saved. Closes #6488 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>pull/7933/head
3 changed files with 35 additions and 14 deletions
Loading…
Reference in new issue