Can we use date format in only one input? E.g input birth date 07-10-1999. Currently, we use alternative by separating the year, month and date into different input.
You can define a numerical type and use the @date
annotation to achieve this:
users
anonymous
interfaces
root {
'Date': number 'date'
}
numerical-types
'days'
'date' in 'days'
@date
This will give you a default date picker in the browser. More information about numerical types can be found in the documentation model/application grammar - Alan Application Platform