selection de l'heure de naissance
This commit is contained in:
parent
f97914a63e
commit
02f04791b9
@ -204,6 +204,10 @@ export class RdDActorSheet extends ActorSheet {
|
||||
// Everything below here is only needed if the sheet is editable
|
||||
if (!this.options.editable) return;
|
||||
|
||||
$(function () {
|
||||
$("#data.heure").val(this.actor.data.data.heure);
|
||||
});
|
||||
|
||||
// Update Inventory Item
|
||||
html.find('.item-edit').click(ev => {
|
||||
const li = $(ev.currentTarget).parents(".item");
|
||||
|
@ -13,7 +13,7 @@
|
||||
"yeux": "",
|
||||
"cheveux": "",
|
||||
"poids": "",
|
||||
"heure": 0,
|
||||
"heure": "",
|
||||
"sexe": "",
|
||||
"age": 0,
|
||||
"beaute": 10,
|
||||
|
@ -640,7 +640,11 @@
|
||||
</li>
|
||||
<li class="item flexrow list-item">
|
||||
<label class="description-label competence-label">Heure de naissance :
|
||||
<input class="description-value flexrow" type="text" name="data.heure" value="{{data.heure}}" data-dtype="String"/>
|
||||
<select class="description-value flexrow" type="text" name="data.heure" value="{{data.heure}}" data-dtype="String">
|
||||
{{#select data.heure}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/heures-select-option.html"}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</label>
|
||||
</li>
|
||||
<li class="item flexrow list-item">
|
||||
|
Loading…
Reference in New Issue
Block a user