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:
2024-02-14 17:34:20 +01:00
parent 8b3fa2fefa
commit 41e894cd42
39 changed files with 1987 additions and 365 deletions
@@ -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>