Open
Description
Bug Description
HTML :
<ui5-form>
<ui5-form-item column-span="1">
<ui5-label slot="labelContent" show-colon >Código</ui5-label>
<ui5-input ngDefaultControl [formControl]="form.controls.codigo">
</ui5-input>
</ui5-form-item>
<ui5-form-item>
<ui5-label slot="labelContent">Emissor da Ordem (Cliente)</ui5-label>
<ui5-input ngDefaultControl [formControl]="form.controls.sdCliente">
<ui5-icon slot="icon" name="value-help"/>
</ui5-input>
</ui5-form-item>
<ui5-form-item>
<ui5-label slot="labelContent">Data do Pedido</ui5-label>
<ui5-date-picker ngDefaultControl [formControl]="form.controls.dataPedido"
style="width: 100%;"
/>
</ui5-form-item>
</ui5-form>
TS:
@Component
export class OrdemVendaFormComponent {
form = new FormGroup({
sdCliente: new FormControl(""),
codigo: new FormControl(""),
dataPedido: new FormControl(""),
})
save(){
console.log(this.form.value)
}
}
Affected Component
ui5-date-picker
Expected Behaviour
apply the value 11/28/2024 in the formControl
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
2.2.0
Browser
Chrome, Edge
Operating System
Windows 11
Additional Context
No response
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Type
Projects
Status
New Issues