fullstack-lang / gong

Gong (go+ng) is a go sub-language that compiles to go and angular. All valid go is valid gong and vice versa. Gong enables fast development of web applications. Gong is model centric and by default, a UML diagram editor of the model is embedded in each application.
MIT License
11 stars 1 forks source link

Issue with time update in the form #476

Closed thomaspeugeot closed 5 months ago

thomaspeugeot commented 5 months ago

Sequence:

Problem:

not updated in stage.go

Analysis:

First problem:

vendor/github.com/fullstack-lang/gongtable/go/models/gong_orchestrator.go

func (orchestrator *FormGroupOrchestrator) OnAfterUpdate(
    gongsvgStage *StageStruct,
    stagedFormGroup, backRepoFormGroup *FormGroup) {

    stagedFormGroup.OnAfterUpdate(gongsvgStage, stagedFormGroup, backRepoFormGroup)
}

gongvsgStage ?!

Second problem

The issue_476 shows that when the first submit is performed, the back_end is not updated. One need to perform another submit.

thomaspeugeot commented 5 months ago

The example is a mess. One cannot distinguish between DateTime and Date Time

thomaspeugeot commented 5 months ago

The is another problem. When saving the FormGroup, there is an error in the client.

NbOfStickyColumns when selectedTable not present.

Added an ngIf

thomaspeugeot commented 5 months ago

It is getting worse and worse. No more update of the FormFieldInt at the backend.