Default values when creating a service

This commit is contained in:
Alex Tselegidis 2020-12-05 11:05:20 +02:00
parent 93c2eb190f
commit 32e2b2843b

View file

@ -102,6 +102,15 @@
.prop('disabled', false); .prop('disabled', false);
$('#filter-services button').prop('disabled', true); $('#filter-services button').prop('disabled', true);
$('#filter-services .results').css('color', '#AAA'); $('#filter-services .results').css('color', '#AAA');
// Default values
$('#service-name').val('Service');
$('#service-duration').val('30');
$('#service-price').val('0');
$('#service-currency').val('');
$('#service-category').val('null');
$('#service-availabilities-type').val('flexible');
$('#service-attendants-number').val('1');
}); });
/** /**