- Use native HTML input for unsupported input types in the character creation form.
For those asking for date of birth input you can now do the following:
function QBClient:getCreateCharacterFormStructure()
return {
{
type = 'text',
name = 'firstname',
label = 'First name',
},
{
type = 'text',
name = 'lastname',
label = 'Last name',
},
{
type = 'select',
name = 'gender',
label = 'Gender',
options = {
{ value = 0, label = 'Male' },
{ value = 1, label = 'Female' },
},
},
{
type = 'date',
name = 'birthdate',
label = 'Date of birth',
},
}
end