Skip to content

Commit

Permalink
fix(fe): change admin problem create hint switch field to use textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
B0XERCAT committed Aug 31, 2024
1 parent 68a5c7d commit 3cfabbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/frontend/app/admin/problem/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,12 @@ export default function Page() {

<TemplateField />

<SwitchField name="hint" title="Hint" placeholder="Enter a hint" />
<SwitchField
name="hint"
title="Hint"
formElement="textarea"
placeholder="Enter a hint"
/>

<SwitchField
name="source"
Expand Down

0 comments on commit 3cfabbd

Please sign in to comment.