Implement governance form field styling (Fixes #2656, #2657, #2659) - #6407
Implement governance form field styling (Fixes #2656, #2657, #2659)#6407aonif wants to merge 4 commits into
Conversation
| sx: datePickerFieldSx, | ||
| inputProps: { | ||
| 'data-testid': `${id}-field`, | ||
| readOnly: true, |
There was a problem hiding this comment.
This will probably produce similar issue to #6397 (comment)
| }, | ||
| inputProps: { | ||
| 'data-testid': `${id}-field`, | ||
| readOnly: true, |
|
Seem CI is failing with could you look into it? |
|
I think the issue is with a focus change on click of the date field, basically focus shifts from the input filed to the date picker therefore not immediately allowing input. The clean options would be to remove the on click picker/limiting to the chevron or implementing a workaround for that focus change so we don't need to rely on workarounds in the test itself. Will have a look - same should then be true for the RadioSelector PR since it is using the same logic |
|
@pawelperek-da removed custom on-click logic as it was interfering with the integration tests due to MUI focus management, picker is now limited to the chevron icon (MUI default), the rest of the field allows input |
…ixes canton-network#2657, Fixes canton-network#2659) Align TextField, DateField, SelectField, and config inputs with Figma: grey (#363636) surfaces, uppercase section labels, and DateField picker pattern (KeyboardArrowDown, read-only display, YY-MM-DD HH:mm). - canton-network#2656: ProposalSummaryField / textarea styling - canton-network#2657: TextField single-line styling - canton-network#2659: ConfigField table entry styling Signed-off-by: Lyutskan Lyutskanov <lyutskan.lyutskanov@finoa.io>
…en (same as EffectiveDateField) Signed-off-by: Tim Pelzer <tim.pelzer@finoa.io>
… integration tests Signed-off-by: Tim Pelzer <tim.pelzer@finoa.io>
Signed-off-by: Tim Pelzer <tim.pelzer@finoa.io>



Summary
Align TextField, DateField, SelectField, and config inputs with Figma: grey (#363636) surfaces, uppercase section labels, and DateField picker pattern (KeyboardArrowDown, read-only display).
Pull Request Checklist
Cluster Testing
/cluster_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./upgrade_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./hdm_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./lsu_teston this PR to request it, and ping someone with access to the DA-internal system to approve it.PR Guidelines
Fixes #n, and mention issues worked on using#nMerge Guidelines