2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

fix: Add placeholder text

This commit is contained in:
Faris Ansari 2019-11-28 00:08:13 +05:30
parent 69cb2447d8
commit 4fb8ec56d4
2 changed files with 16 additions and 4 deletions

View File

@ -14,44 +14,52 @@ module.exports = {
{
fieldname: 'addressLine1',
label: 'Address Line 1',
placeholder: 'Address Line 1',
fieldtype: 'Data',
required: 1
required: 1,
},
{
fieldname: 'addressLine2',
label: 'Address Line 2',
placeholder: 'Address Line 2',
fieldtype: 'Data'
},
{
fieldname: 'city',
label: 'City / Town',
placeholder: 'City / Town',
fieldtype: 'Data',
required: 1
},
{
fieldname: 'state',
label: 'State',
placeholder: 'State',
fieldtype: 'Data'
},
{
fieldname: 'country',
label: 'Country',
placeholder: 'Country',
fieldtype: 'Data',
required: 1
},
{
fieldname: 'postalCode',
label: 'Postal Code',
placeholder: 'Postal Code',
fieldtype: 'Data'
},
{
fieldname: 'emailAddress',
label: 'Email Address',
placeholder: 'Email Address',
fieldtype: 'Data'
},
{
fieldname: 'phone',
label: 'Phone',
placeholder: 'Phone',
fieldtype: 'Data'
},
{

View File

@ -17,7 +17,8 @@ module.exports = {
{
fieldname: 'email',
label: 'Email',
fieldtype: 'Data'
fieldtype: 'Data',
placeholder: 'john@doe.com'
},
{
fieldname: 'displayLogo',
@ -27,19 +28,22 @@ module.exports = {
{
fieldname: 'phone',
label: 'Phone',
fieldtype: 'Data'
fieldtype: 'Data',
placeholder: '9888900000'
},
{
fieldname: 'address',
label: 'Address',
fieldtype: 'Link',
target: 'Address',
placeholder: 'Click to create',
inline: true
},
{
fieldname: 'gstin',
label: 'GSTIN',
fieldtype: 'Data'
fieldtype: 'Data',
placeholder: '27AAAAA0000A1Z5',
},
{
fieldname: 'template',