Skip to content

Commit

Permalink
✨ [open-formulieren/open-forms#4813] Added prefill tab to number edit
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmolen committed Nov 8, 2024
1 parent 8b48584 commit d962ec5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/registry/number/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
IsSensitiveData,
Key,
Label,
Prefill,
PresentationConfig,
Registration,
SimpleConditional,
Expand Down Expand Up @@ -58,6 +59,7 @@ const EditForm: EditFormDefinition<NumberComponentSchema> = () => {
<BuilderTabs.Advanced hasErrors={hasAnyError('conditional')} />
<BuilderTabs.Validation hasErrors={hasAnyError('validate')} />
<BuilderTabs.Registration hasErrors={hasAnyError('registration')} />
<BuilderTabs.Prefill hasErrors={hasAnyError('prefill')} />
<BuilderTabs.Translations hasErrors={hasAnyError('openForms.translations')} />
</TabList>

Expand Down Expand Up @@ -96,6 +98,11 @@ const EditForm: EditFormDefinition<NumberComponentSchema> = () => {
<Registration.RegistrationAttributeSelect />
</TabPanel>

{/* Prefill tab */}
<TabPanel>
<Prefill.PrefillConfiguration />
</TabPanel>

{/* Translations */}
<TabPanel>
<Translations.ComponentTranslations<NumberComponentSchema>
Expand Down

0 comments on commit d962ec5

Please sign in to comment.