mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
feat: 2e save character initial implementation WIP
2e is hidden behind url navigation hiding, so hoping that nobody found it yet. Note: DB migration make this commit a bit risky!
This commit is contained in:
@@ -59,7 +59,7 @@ function CreateCharacter2E(props: {}) {
|
||||
<label className='col-md-2 col-sm-3 col-form-label'>Név</label>
|
||||
<input className='col form-control'
|
||||
value={karakter.nev}
|
||||
onChange={(e) => setKarakter({...karakter, name: e.target.value})}/>
|
||||
onChange={(e) => setKarakter({...karakter, nev: e.target.value})}/>
|
||||
{!karakter.nev &&
|
||||
<span className='form-field-error'>A karaktered nem mászkálhat névtelenül a világban!</span>}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user