Validate applicant and call database procedure
This commit is contained in:
@@ -5,11 +5,16 @@ import QtQuick.Layouts
|
||||
ColumnLayout
|
||||
{
|
||||
required property string label
|
||||
/**
|
||||
* Adds an asterisk after the label, informing the user that this field
|
||||
* is mandatory.
|
||||
*/
|
||||
property bool mandatory: false
|
||||
spacing: Dimensions.s
|
||||
|
||||
Label
|
||||
{
|
||||
text: label
|
||||
text: label + (mandatory ? "*" : "")
|
||||
font: Typography.body
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user