mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
parent
aab349b9b5
commit
b43737c8a9
@ -79,4 +79,4 @@
|
||||
|
||||
</script>
|
||||
|
||||
<DialogHeader {space} {object} {newValue} {resume} create={true} on:save={createCandidate}/>
|
||||
<DialogHeader {space} {object} {newValue} {resume} create={true} on:save={createCandidate} focus/>
|
||||
|
@ -37,6 +37,7 @@
|
||||
export let space: Ref<Space>
|
||||
export let object: Candidate
|
||||
export let newValue: Candidate
|
||||
export let focus = false
|
||||
|
||||
export let resume: {
|
||||
id: Ref<Doc> | undefined
|
||||
@ -104,7 +105,7 @@
|
||||
<div class="avatar" on:click|stopPropagation={() => showModal(AvatarEditor, { label: 'Profile photo' })}><User /></div>
|
||||
<div class="flex-col">
|
||||
<div class="name">
|
||||
<EditBox placeholder="John" bind:value={newValue.firstName} on:input={isChanged}/>
|
||||
<EditBox placeholder="John" bind:value={newValue.firstName} on:input={isChanged} {focus}/>
|
||||
<EditBox placeholder="Appleseed" bind:value={newValue.lastName} on:input={isChanged}/>
|
||||
</div>
|
||||
<div class="title"><EditBox placeholder="Location" bind:value={newValue.city} on:input={isChanged}/></div>
|
||||
|
Loading…
Reference in New Issue
Block a user