-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] 모임생성 Tanstack-Form 폼 연동 #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
81841fe
Merge branch 'main' into somang-style/post-meetup
HopeFullee e57932e
Merge branch 'main' into somang-style/post-meetup
HopeFullee ac00b23
Merge branch 'main' into somang-style/post-meetup
HopeFullee 3b385f7
Merge branch 'main' into somang-style/post-meetup
HopeFullee c599784
feat: 모임생성 tanstack-form 폼 연동
HopeFullee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,15 @@ | ||||||
| 'use client'; | ||||||
|
|
||||||
| import { AnyFieldApi } from '@tanstack/react-form'; | ||||||
|
|
||||||
| import { Icon } from '@/components/icon'; | ||||||
| import { Input, Label } from '@/components/ui'; | ||||||
|
|
||||||
| export const MeetupTagsField = () => { | ||||||
| interface Props { | ||||||
| field: AnyFieldApi; | ||||||
| } | ||||||
|
|
||||||
| export const MeetupTagsField = ({ field }: Props) => { | ||||||
| return ( | ||||||
| <div className='flex w-full flex-col gap-1'> | ||||||
| <Label htmlFor='post-meetup-tags'>태그</Label> | ||||||
|
|
@@ -19,13 +25,14 @@ export const MeetupTagsField = () => { | |||||
| /> | ||||||
| } | ||||||
| placeholder='입력 후 Enter' | ||||||
| required | ||||||
| type='text' | ||||||
| value={field.state.value} | ||||||
| onChange={(e) => field.handleChange(e.target.value)} | ||||||
| /> | ||||||
| <ul className='mt-0.5 flex flex-wrap px-2'> | ||||||
| <li className='bg-mint-100 text-mint-700 flex-center gap-0.5 rounded-full px-2 py-0.5'> | ||||||
| <p className='text-text-xs-medium'>#태그</p> | ||||||
| <Icon id='small-x' width={10} height={10} /> | ||||||
| <Icon id='small-x' width={7} height={7} /> | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 아실지 모르겟는데 width, height 말고 className 지정으로도 가능합니다~
Suggested change
|
||||||
| </li> | ||||||
| </ul> | ||||||
| </div> | ||||||
|
|
||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thumbnails필드가 객체 값을 반환하는데 이를cap으로 매핑하면서 타입이 맞지 않아 발생한 이슈였고위와 같이 변경하면 사진 선택 시 인원수가 [object Object]로 표시되던 문제가 해결되네요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네즈코짱 기유짱
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기유제국 만만세 (속닥속닥)