Skip to content

Commit

Permalink
Limit job title to 80 and description to 2000 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
madis committed May 13, 2024
1 parent 20c5626 commit 319a7eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/ethlance/ui/page/new_job.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
[c-text-input
{:placeholder "Name"
:value @*name
:maxlength 80
:on-change #(re/dispatch [:page.new-job/set-title %])}]]
[:div.category-input
[c-select-input
Expand Down Expand Up @@ -153,6 +154,7 @@
[c-textarea-input
{:placeholder "Enter Description"
:value @*description
:maxlength 2000
:on-change #(re/dispatch [:page.new-job/set-description %])}]]

[:div.forms-of-payment.chip
Expand Down

0 comments on commit 319a7eb

Please sign in to comment.