Files
sign/packages/ui/primitives
Etrenak f6f893fbf7 fix: prefill advanced field settings in templates (#1332)
## Description

Seems like I was overconfident in #1323 and I did not test properly.
Currently, the advanced settings for a field in a **template** is not
pre-filled with the current fieldMeta, although it is correctly
pre-filled in a **draft document** (That's probably where I messed up my
testing).

In this PR, I propose to directly use the fieldMeta provided by the
field prop in `FieldAdvancedSettings`, instead of multiplying tRPCs to
request the fieldMeta while we already have it.

I apologize for the wasted time in reviewing my previous PR which was
only correcting the display of the field label in the template view.

## Testing Performed

- This time, I correctly checked that the advanced settings for a field
is correctly pre-filled both in a document draft and in a template.
- `npm run build` builds correctly.
2024-09-10 13:22:03 +10:00
..
2023-11-06 13:01:06 +11:00
2024-01-30 17:32:20 +11:00
2023-11-06 13:01:06 +11:00
2024-02-26 22:35:10 +11:00
2023-11-06 13:01:06 +11:00
2023-11-06 13:01:11 +11:00
2023-11-06 13:01:06 +11:00
2024-08-27 20:34:39 +09:00
2023-11-06 13:01:06 +11:00
2024-08-27 20:34:39 +09:00
2023-11-06 13:01:06 +11:00
2024-03-28 13:13:29 +08:00
2023-11-06 13:01:43 +11:00
2023-11-06 13:01:06 +11:00
2023-11-29 22:37:33 +05:30
2024-04-18 21:56:31 +07:00
2023-11-06 13:01:06 +11:00
2023-11-06 13:01:06 +11:00
2023-11-06 13:01:06 +11:00
2023-11-06 13:01:06 +11:00
2023-11-06 13:01:06 +11:00
2023-11-06 13:01:06 +11:00
2023-12-07 15:06:49 +11:00
2023-11-06 13:01:06 +11:00
2023-11-06 13:01:06 +11:00
2024-06-06 15:28:02 +10:00
2023-11-06 13:01:06 +11:00
2024-02-27 20:36:40 +11:00